Jarl Friis <[email protected]> writes:

> Hi.
>
> I use Jaunty, and is now trying to build a JeOS virtual server.
>
> I have followed the instructions on:
> https://help.ubuntu.com/9.04/serverguide/C/jeos-and-vmbuilder.html
>
> 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
> server.
>
> 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:
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
proceeding.

It might be worth considering to mention this in the official
documentation.

Jarl


-- 
ubuntu-server mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam

Reply via email to