aboutsummaryrefslogtreecommitdiffstats
path: root/roles/bhyve/templates/openbsd.conf.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/bhyve/templates/openbsd.conf.j2')
-rw-r--r--roles/bhyve/templates/openbsd.conf.j214
1 files changed, 14 insertions, 0 deletions
diff --git a/roles/bhyve/templates/openbsd.conf.j2 b/roles/bhyve/templates/openbsd.conf.j2
new file mode 100644
index 0000000..c791c6c
--- /dev/null
+++ b/roles/bhyve/templates/openbsd.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="kopenbsd -h com0 /6.8/amd64/bsd.rd"
+grub_run0="kopenbsd -h com0 -r sd0a /bsd"
+
+bhyve_options="-w"
remember that computers suck.