Short question: Do you know a fast and simple way for building headless Ubuntu 16.04 VM's (with a ssh server already installed and running) on a headless Ubuntu 16.04 Server?
Detailed version: So I really liked the
ubuntu-vm-builder in 14.04. Yesterday I did set up a fresh 16.04 VM host PC and noticed that said builder can only create vm's until 14.04. (This answer to the question Creating Virtual Machines using ubuntu-vm-builder states out that Canonical abandoned/deprecated it (for which I have not found an official statement).
Extracting templates from packages: 100% 2016-06-28 17:02:43,136 INFO : W: --force-yes is deprecated, use one of the options starting with --allow instead.)
So I started experimenting with virt-builder and ran into this issue, which seems to be a fault of the VM host system.
Finally I tried to use virt-install directly, but it seems to me, that it is only possible to use vnc (not simply an ssh terminal) for the first connection. I followed this guide and got the VM running. But on the point where the ssh tunneling for the vnc connection is set up, I am struggling. I assume that you have to run this code on the VM host:
$ sudo virsh dumpxml gitMachine | grep vnc $ <graphics type='vnc' port='5900' autoport='yes' listen='127.0.0.1'> $ ssh ubuntuDesktopUser@ubuntuDesktop -L 5900:127.0.0.1:5900
Above tunnel connected successfully (I got asked for certificate & password). But I was not able to connect to the VM from the Ubuntu Desktop with a VNC client as described in the guide.
Are there other tools out there which deliver the same results as
ubuntu-vm-builder in 16.04?