Go to file
Cadey Ratio f0ed071618 enable cloud init
Signed-off-by: Christine Dodrill <me@christine.website>
2021-05-17 21:29:37 -04:00
data update names readme for ponies 2021-05-17 08:08:53 -04:00
templates add a sata disk mode for freebsd 12 2021-05-16 15:50:10 +00:00
var enable cloud init 2021-05-17 21:29:37 -04:00
.envrc initial commit 2021-05-16 03:46:55 +00:00
.gitignore build nixos 2021-05-17 20:43:53 -04:00
LICENSE initial commit 2021-05-16 03:46:55 +00:00
README.md add README 2021-05-16 17:27:09 -04:00
go.mod initial commit 2021-05-16 03:46:55 +00:00
go.sum initial commit 2021-05-16 03:46:55 +00:00
main.go write a fake cloud config i guess 2021-05-17 21:14:27 -04:00
main_test.go initial commit 2021-05-16 03:46:55 +00:00
nixos.go openstack is banned 2021-05-17 21:20:41 -04:00
shell.nix oops 2021-05-16 14:38:51 -04:00

README.md

mkvm

Makes a virtual machine from a bunch of templates using cloud-init userdata to customize them.

This is an experimental tool I made for testing this Tailscale PR. Normally I assume that this kind of stuff is very unsupported, however in this case I want to make an exception and mention this explicitly: this tool is an unsupported thing I made only to scratch an itch I've been having. If you want this tool to be supported, please contact me and arrange for a license and payment.

This has only been tested on and assumes that it is running on NixOS with a zfs root filesystem. You may need to create the parent zfs volume for VM disks with a command like this:

$ sudo zfs create -o mountpoint=none rpool/mkvm-test

Do not be surprised if this misbehaves. You have been warned.