diff options
| author | bozo.kopic <bozo@kopic.xyz> | 2023-10-14 17:15:36 +0200 |
|---|---|---|
| committer | bozo.kopic <bozo@kopic.xyz> | 2023-10-14 17:15:36 +0200 |
| commit | c2ef7cf345a5b609157ee8ff0b7330ed6c26f272 (patch) | |
| tree | 70401129e6aa2496f72af24cbb9bc1349812b716 /vm/alpine/run.sh | |
| parent | 872615941ef71eefc86c3e637959a2ede7f33c20 (diff) | |
.
Diffstat (limited to 'vm/alpine/run.sh')
| -rwxr-xr-x | vm/alpine/run.sh | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/vm/alpine/run.sh b/vm/alpine/run.sh deleted file mode 100755 index 8681b9d..0000000 --- a/vm/alpine/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 \ - "$@" |
