qemu
This commit is contained in:
parent
614b6fc871
commit
01018a5121
1 changed files with 5 additions and 4 deletions
9
run.sh
9
run.sh
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue