includeos/IncludeOS

Running some demo examples failed with error

Opened this issue · 2 comments

I was able to run the hello world application following the tutorial. However, I failed in running some demo examples. Both demo_service and 256_color_vga failed with the following output:

Error: argument "bridge43" is wrong: Device does not exist

qemu-system-x86_64: -netdev tap,id=net0,vhost=on,script=/home/jedi/.conan/data/vmrunner/0.16.1-5/includeos/latest/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/bin/qemu-ifup,downscript=/home/jedi/.conan/data/vmrunner/0.16.1-5/includeos/latest/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/bin/qemu-ifdown: network script /home/jedi/.conan/data/vmrunner/0.16.1-5/includeos/latest/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/bin/qemu-ifup failed with status 65280

[ PROGRAM_FAILURE ] process exited

I'm using Ubuntu 18.04. Any help would be appreciated. Thank you.

Seems like the correct command to run the two mentioned examples is
boot --create-bridge 256_color_vga
Hope the documentation can be updated.

In addition, the 256_color_vga just start a new qemu and stuck at the following screen. Isn't it supposed to draw some kind of 256-color pixel graphics?

Screenshot from 2019-06-08 21-33-55

Its because vmrunner always runs with the bridge setup scripts even though not all services use networking. Note that vmrunner is only for development, as you are supposed to run these images in some kind of cloud. I think we can solve this without having to update the documentation though as vm.json will tell us if there are any networks.