diff options
Diffstat (limited to 'create_installroot/boot_qemu.sh')
-rwxr-xr-x | create_installroot/boot_qemu.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/create_installroot/boot_qemu.sh b/create_installroot/boot_qemu.sh index d7f527b..d14b102 100755 --- a/create_installroot/boot_qemu.sh +++ b/create_installroot/boot_qemu.sh @@ -2,9 +2,10 @@ qemu-system-x86_64 \ -kernel bootfs/vmlinuz-xos \ -hda xos_image.img \ - -append "root=/dev/sda2 rw console=ttyS0 raid=noautodetect init=/Programs/Core/busybox_ASH" \ + -append "root=/dev/sda2 rw console=ttyS0 raid=noautodetect init=/Programs/Core/busybox_ASH ip=192.168.4.66" \ -serial stdio -display none \ - -m 256 + -m 256 \ + -netdev tap,id=mynet0,ifname=tap0,script=no,downscript=no -device e1000,netdev=mynet0,mac=52:55:00:d1:55:01 #qemu-system-x86_64 -drive format=raw,file=xos_image.img -m 128 #qemu-system-x86_64 \ |