How to use this?
This cidata.iso
use cloud-init for ubuntu cloud image setup, you could just use this instead of build from Makefile
, just like below:
qemu-system-x86_64 \
-m 4G \
-hda img/genera.img \
-cdrom img/cidata.iso \
-device e1000,netdev=net0 -netdev user,id=net0,hostfwd=tcp::$(SSH_PORT)-:22,hostfwd=tcp::$(VNC_PORT)-:5901 \
-nographic
then use vnc cilent to visit vnc://localhost:${VNC_PORT}
with password genera
.
(Note: this is used to avoid the broken links from internet and hopefully it would avoid the messy Makefile
... )