From 0dde247d2613b3192ed6f8661ce4d5cea54e5f5e Mon Sep 17 00:00:00 2001 From: Alison Watson Date: Mon, 5 Aug 2019 19:11:59 -0400 Subject: [PATCH] virtual-machines: add NetBSD config --- virtual-machines/NetBSD/run | 11 +++++++++++ virtual-machines/qemu-setup | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100755 virtual-machines/NetBSD/run diff --git a/virtual-machines/NetBSD/run b/virtual-machines/NetBSD/run new file mode 100755 index 0000000..fbf78f1 --- /dev/null +++ b/virtual-machines/NetBSD/run @@ -0,0 +1,11 @@ +#!/usr/bin/env fish +# vim: syntax=fish: + +set _arch x86_64 +set _install "$_vm_media/BSD/NetBSD/NetBSD-8.1-amd64.iso" +set _args \ + -m 4096 \ + --usb +source $_vm_setup + +## EOF diff --git a/virtual-machines/qemu-setup b/virtual-machines/qemu-setup index 37e19e3..5aae158 100644 --- a/virtual-machines/qemu-setup +++ b/virtual-machines/qemu-setup @@ -23,7 +23,7 @@ if test $_arch = "i386" || test $_arch = "x86_64" $_args end -if test $_install && test $_use_install +if test $_use_install set _boot_order d set _args \ --drive file="$_install",media=cdrom,readonly \