libvirt: can't install OpenSSH using vmbuilder.
nick.barcet at canonical.com
Wed Jun 24 13:28:08 UTC 2009
On 06/24/2009 02:57 PM, Jarl Friis wrote:
> 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
It sounds like the IP configuration might be good, but not the domain
name resolving part. I would first check this, as well as if your
/etc/apt/sources.list contains valid information (it might be pointing
to an invalid mirror as a consequence of using the --mirror option, in
which case --install-mirror could be better).
> 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?
I can confirm that networking is up when boot.sh is invoked, as I have
used this method previously with success.
> Does anyone have any hints on how I can see the exact errormessage
> during initial boot, they are disappearing quite fast on the virtual
> VGA screen.
I would suggest that you redirect error messages produced by the
commands in your boot.sh to a file that you will browse at your leisure
Hope this helps,
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 835 bytes
Desc: OpenPGP digital signature
More information about the ubuntu-server