1
0
mirror of https://github.com/rancher/os.git synced 2025-07-31 06:32:09 +00:00

fix serial console for newer qemu

Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
This commit is contained in:
Sven Dowideit 2017-07-26 17:30:57 +10:00
parent c6510571c5
commit 5716be7a34

View File

@ -36,7 +36,7 @@ EOF
rm -f build/{success,hd.img}
qemu-img create -f qcow2 build/hd.img 8G
qemu-system-${QEMUARCH} -serial stdio \
qemu-system-${QEMUARCH} -serial mon:stdio \
-enable-kvm \
-drive if=virtio,file=build/hd.img \
-boot d -cdrom ./dist/artifacts/rancheros.iso \
@ -51,4 +51,4 @@ qemu-system-${QEMUARCH} -serial stdio \
mkdir -p state
cp build/hd.img state/hd.img
echo "------------------------ RancherOS installed to hd.img."
echo "------------------------ RancherOS installed to hd.img."