aboutsummaryrefslogtreecommitdiffstats
path: root/roles/bhyve/templates/alpine.conf.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/bhyve/templates/alpine.conf.j2')
-rw-r--r--roles/bhyve/templates/alpine.conf.j214
1 files changed, 14 insertions, 0 deletions
diff --git a/roles/bhyve/templates/alpine.conf.j2 b/roles/bhyve/templates/alpine.conf.j2
new file mode 100644
index 0000000..58cad66
--- /dev/null
+++ b/roles/bhyve/templates/alpine.conf.j2
@@ -0,0 +1,14 @@
+loader="grub"
+cpu={{ guest_cpu }}
+memory={{ guest_memory }}
+
+network0_type="virtio-net"
+network0_switch="{{ guest_switch }}"
+
+disk0_type="virtio-blk"
+disk0_name="disk0.img"
+
+grub_install0="linux /boot/vmlinuz-lts initrd=/boot/initramfs-lts alpine_dev=cdrom:iso9660 modules=loop,squashfs,sd-mod,usb-storage,sr-mod"
+grub_install1="initrd /boot/initramfs-lts"
+grub_run0="linux /boot/vmlinuz-lts root=/dev/vda3 modules=ext4"
+grub_run1="initrd /boot/initramfs-lts"
remember that computers suck.