aboutsummaryrefslogtreecommitdiff
path: root/vm/alpine/x86_64/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/alpine/x86_64/run.sh
parent52ee08731eeebed097cf2d17c76597d7ded5b038 (diff)
.
Diffstat (limited to 'vm/alpine/x86_64/run.sh')
-rwxr-xr-xvm/alpine/x86_64/run.sh25
1 files changed, 0 insertions, 25 deletions
diff --git a/vm/alpine/x86_64/run.sh b/vm/alpine/x86_64/run.sh
deleted file mode 100755
index 8681b9d..0000000
--- a/vm/alpine/x86_64/run.sh
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/bin/sh
-
-set -e
-
-cd $(dirname -- "$0")
-
-if [ ! -f alpine.iso ]; then
- curl -L -o alpine.iso https://dl-cdn.alpinelinux.org/alpine/v3.14/releases/x86_64/alpine-virt-3.14.1-x86_64.iso
-fi
-
-if [ ! -f alpine.qcow2 ]; then
- qemu-img create -f qcow2 alpine.qcow2 20G
-fi
-
-exec qemu-system-x86_64 \
- -enable-kvm \
- -cpu host \
- -hda alpine.qcow2 \
- -cdrom alpine.iso \
- -m 2G \
- -device e1000,netdev=net0 \
- -netdev user,id=net0 \
- -usb \
- -device usb-tablet \
- "$@"