1
0
Fork 0
virtual-machines/install.sh
René Huiberts c1a06fc8c8 Added: installation & start scripts
2025-05-12 13:39:54 +02:00

14 lines
449 B
Bash

#!/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