libvirt: can't install OpenSSH using vmbuilder.
jarl at gavia.dk
Wed Jun 24 13:28:09 UTC 2009
Jarl Friis <jarl at gavia.dk> writes:
> I use Jaunty, and is now trying to build a JeOS virtual server.
> I have followed the instructions on:
> and created a boot.sh.
> Yet after booting the new VM openSSH is not installed.
> If I use virt-viewer to see what is happening. There are lots of
> messages about can't resolve ubuntu.com
> I have configured brdige networking and th VM gets it's IP from a DHCP
> The problem might be that the VM have not yet configured the network
> at the time the boot.sh script is executed. Any other ideas?
It seems like that is the case, I have solved the problem by using a
boot.sh with the following lines:
apt-get install -qqy --force-yes openssh-server
The 'sleep 3' is enough for the network to get up and running before
It might be worth considering to mention this in the official
More information about the ubuntu-server