This commit is contained in:
Kroese 2023-04-12 00:10:25 +02:00 committed by GitHub
parent 614b6fc871
commit 01018a5121

9
run.sh
View file

@ -2,7 +2,7 @@
set -eu
if /run/install.sh; then
echo "Starting Virtual DSM..."
echo "Starting QEMU..."
else
echo "Installation failed (code $?)" && exit 81
fi
@ -15,9 +15,10 @@ source /run/network.sh
[ -z "${KVM_NET_OPTS}" ] && echo "Error: Failed to setup network..." && exit 84
source /run/serial.sh
[ -z "${KVM_SERIAL_OPTS}" ] && echo "Error: Failed to setup serial..." && exit 85
KVM_SERIAL_OPTS="\
-serial mon:stdio \
-device virtio-serial-pci,id=virtio-serial0,bus=pcie.0,addr=0x3 \
-chardev pty,id=charserial0"
source /run/power.sh