Cadey Ratio
2e32a4e4bf
Signed-off-by: Christine Dodrill <me@christine.website> |
||
---|---|---|
data | ||
templates | ||
var | ||
.envrc | ||
LICENSE | ||
README.md | ||
go.mod | ||
go.sum | ||
main.go | ||
main_test.go | ||
shell.nix |
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.