aboutsummaryrefslogtreecommitdiff
path: root/vm/netbsd/run.sh
diff options
context:
space:
mode:
authorbozo.kopic <bozo@kopic.xyz>2024-01-08 18:50:10 +0100
committerbozo.kopic <bozo@kopic.xyz>2024-01-08 18:50:10 +0100
commit39abd6b00a427ac4d33564d9a00cde35abe90be8 (patch)
treec92ea389ab832929263612b556f8f141feb9ea1a /vm/netbsd/run.sh
parent52ee08731eeebed097cf2d17c76597d7ded5b038 (diff)
.
Diffstat (limited to 'vm/netbsd/run.sh')
-rwxr-xr-xvm/netbsd/run.sh28
1 files changed, 0 insertions, 28 deletions
diff --git a/vm/netbsd/run.sh b/vm/netbsd/run.sh
deleted file mode 100755
index d487259..0000000
--- a/vm/netbsd/run.sh
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/bin/sh
-
-set -e
-
-cd $(dirname -- "$0")
-
-if [ ! -f netbsd.iso ]; then
- curl -L -o netbsd.iso https://cdn.netbsd.org/pub/NetBSD/NetBSD-9.3/images/NetBSD-9.3-amd64.iso
-fi
-
-if [ ! -f netbsd.qcow2 ]; then
- qemu-img create -f qcow2 netbsd.qcow2 20G
-fi
-
-exec qemu-system-x86_64 \
- -enable-kvm \
- -cpu host \
- -hda netbsd.qcow2 \
- -cdrom netbsd.iso \
- -m 2G \
- -device e1000,netdev=net0 \
- -netdev user,id=net0 \
- -usb \
- -device usb-tablet \
- -display curses \
- "$@"
-
-