libvirt: can't install OpenSSH using vmbuilder.

Jarl Friis jarl at
Wed Jun 24 13:28:09 UTC 2009

Jarl Friis <jarl at> writes:

> Hi.
> I use Jaunty, and is now trying to build a JeOS virtual server.
> I have followed the instructions on:
> and created a
> 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
> I have configured brdige networking and th VM gets it's IP from a DHCP
> server.
> The problem might be that the VM have not yet configured the network
> at the time the script is executed. Any other ideas?

It seems like that is the case, I have solved the problem by using a with the following lines:
sleep 3
apt-get update
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 mailing list