summaryrefslogtreecommitdiff
path: root/run-qemu
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2020-01-31 15:50:03 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2020-01-31 15:50:03 +0000
commit7f7a2b99a0c2391926fe527a92ce439c8a147fcd (patch)
tree3104522f3fe0c30eb568884f9e91e3ab47731683 /run-qemu
parent3971b792e9e109e6fde2126ddb8c68c749827edb (diff)
downloadlh-bootstrap-7f7a2b99a0c2391926fe527a92ce439c8a147fcd.tar.xz
Small incremental build fixes (47)
Diffstat (limited to 'run-qemu')
-rwxr-xr-xrun-qemu2
1 files changed, 1 insertions, 1 deletions
diff --git a/run-qemu b/run-qemu
index 5f5a74e..8bd4c98 100755
--- a/run-qemu
+++ b/run-qemu
@@ -14,5 +14,5 @@ exec qemu-system-${QEMU_ARCH} -nographic -M virt $cpuoption -smp 4 -m 2G -nodefa
-drive if=virtio,file=$OUTPUT/rootfs.qcow2,format=qcow2,media=disk,index=1 \
-drive if=virtio,file=$OUTPUT/rwfs.qcow2,format=qcow2,media=disk,index=2 \
-drive if=virtio,file=$OUTPUT/userfs.qcow2,format=qcow2,media=disk,index=3 \
- -netdev user,id=eth0,hostfwd=tcp:127.0.0.1:2222-10.0.0.1:22 \
+ -netdev user,id=eth0,hostfwd=::2222-10.0.2.1:22 \
-device virtio-net-device,netdev=eth0