Go to file
Cadey Ratio 62200eddd1
Nixos support (#4)
* build nixos

Signed-off-by: Christine Dodrill <me@christine.website>

* does this work lol

Signed-off-by: Christine Dodrill <me@christine.website>

* oops

Signed-off-by: Christine Dodrill <me@christine.website>

* openstack?

Signed-off-by: Christine Dodrill <me@christine.website>

* oops lol

Signed-off-by: Christine Dodrill <me@christine.website>

* write a fake cloud config i guess

Signed-off-by: Christine Dodrill <me@christine.website>

* enable ssh lol

Signed-off-by: Christine Dodrill <me@christine.website>

* openstack is banned

Signed-off-by: Christine Dodrill <me@christine.website>

* lol oops x3

Signed-off-by: Christine Dodrill <me@christine.website>

* enable cloud init

Signed-off-by: Christine Dodrill <me@christine.website>
2021-05-17 21:34:09 -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 Nixos support (#4) 2021-05-17 21:34:09 -04:00
.envrc initial commit 2021-05-16 03:46:55 +00:00
.gitignore Nixos support (#4) 2021-05-17 21:34:09 -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 Nixos support (#4) 2021-05-17 21:34:09 -04:00
main_test.go initial commit 2021-05-16 03:46:55 +00:00
nixos.go Nixos support (#4) 2021-05-17 21:34:09 -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.