feat: debian12
This commit is contained in:
parent
a7ef8179f5
commit
2b543fbff6
20
debian12/run.sh
Executable file
20
debian12/run.sh
Executable file
@ -0,0 +1,20 @@
|
||||
#!/bin/bash -e
|
||||
cd "$(dirname "$0")"
|
||||
. ../lib.sh
|
||||
|
||||
hda='https://cloud.debian.org/images/cloud/bookworm/latest/debian-12-nocloud-amd64.qcow2'
|
||||
|
||||
if ! [ -f hda.qcow2 ]; then
|
||||
ask_yn "hda does not exist. Download?" \
|
||||
&& curl -LC- -o hda.qcow2 "$hda" \
|
||||
|| exit 1
|
||||
fi
|
||||
|
||||
CMD=(
|
||||
"${CMD[@]}"
|
||||
-nic user,model=virtio-net-pci
|
||||
# USB passthrough, might need root privileges
|
||||
#-device usb-host,vendorid=0xffff,productid=0xffff
|
||||
)
|
||||
|
||||
"${CMD[@]}"
|
Loading…
Reference in New Issue
Block a user