VMs/fedora39/run.sh
2024-03-10 21:33:10 +01:00

17 lines
414 B
Bash
Executable File

#!/bin/bash -e
cd "$(dirname "$0")"
. ../lib.sh
ISO=(
[fedora39.iso]='https://download.fedoraproject.org/pub/fedora/linux/releases/39/Workstation/x86_64/iso/Fedora-Workstation-Live-x86_64-39-1.5.iso'
)
if ! [ -f hda.qcow2 ]; then
ask_yn 'hda not found, create?' || exit 1
qemu-img create -f qcow2 hda.qcow2 20G
download_isos
fi
qemu "$@" \
#-device usb-host,vendorid=0xffff,productid=0xffff