mirror of
https://github.com/rancher/os.git
synced 2025-07-31 22:47:16 +00:00
fix serial console for newer qemu
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
This commit is contained in:
parent
c6510571c5
commit
5716be7a34
@ -36,7 +36,7 @@ EOF
|
|||||||
|
|
||||||
rm -f build/{success,hd.img}
|
rm -f build/{success,hd.img}
|
||||||
qemu-img create -f qcow2 build/hd.img 8G
|
qemu-img create -f qcow2 build/hd.img 8G
|
||||||
qemu-system-${QEMUARCH} -serial stdio \
|
qemu-system-${QEMUARCH} -serial mon:stdio \
|
||||||
-enable-kvm \
|
-enable-kvm \
|
||||||
-drive if=virtio,file=build/hd.img \
|
-drive if=virtio,file=build/hd.img \
|
||||||
-boot d -cdrom ./dist/artifacts/rancheros.iso \
|
-boot d -cdrom ./dist/artifacts/rancheros.iso \
|
||||||
@ -51,4 +51,4 @@ qemu-system-${QEMUARCH} -serial stdio \
|
|||||||
|
|
||||||
mkdir -p state
|
mkdir -p state
|
||||||
cp build/hd.img state/hd.img
|
cp build/hd.img state/hd.img
|
||||||
echo "------------------------ RancherOS installed to hd.img."
|
echo "------------------------ RancherOS installed to hd.img."
|
||||||
|
Loading…
Reference in New Issue
Block a user