1
0
Fork 0

Added: installation & start scripts

Browse Source
This commit is contained in:
rhjr 2025-05-12 13:39:54 +02:00 committed by René Huiberts
commit bfd464f058
4 changed files with 25 additions and 0 deletions

0
install.bat Normal file
View File

13
install.sh Normal file
View File

@ -0,0 +1,13 @@
#!/bin/bash
set -xe
ISO_PATH="$1"
QCOW2_IMAGE="$2"
qemu-img create -f qcow2 "$QCOW2_IMAGE" 20G
qemu-system-x86_64 -enable-kvm \
-m 4096 \
-cdrom "$ISO_PATH" \
-hda "$QCOW2_IMAGE" \
-boot d

0
start.bat Normal file
View File

12
start.sh Normal file
View File

@ -0,0 +1,12 @@
#!/bin/bash
set -xe
qemu-system-x86_64 \
-m 4096 \
-hda ./artifacts/disk.qcow2 \
-cpu host -enable-kvm \
-vga qxl \
-display gtk,gl=on \
-netdev user,id=user.0 -device e1000,netdev=user.0 \
-usb -device usb-host,hostbus=1,hostaddr=15