KVM, virt-manager, etc.

Soren Hansen soren at ubuntu.com
Tue Jan 29 11:05:33 GMT 2008

On Tue, Jan 29, 2008 at 09:43:48AM +0000, Matt Zimmerman wrote:
>> Just to clarify: You want to avoid having the user interact with the
>> installer inside the vm altogether?
> Correct.  I think we ought to provide a fully non-interactive
> bootstrap of a new guest.  If that's not fully feasible in this first
> iteration, we should work toward it.

There are a few options.

a) The ubuntu-vm-builder script I worked on during gutsy. It uses
debootstrap and a series of hacks to bootstrap a virtual machine. It'd
need some love to get into a publishable shape, but it's doable.

b) RedHat has a provisioning system called Cobbler, which could do this
as well. It sets up the a dhcp server and a tftp server which it uses to
install RedHat VM's by way of PXE booting the VM's and providing
kickseeds via a cgi. While this seems like the better solution, it needs
a fair bit of work to adhere to 1) our interpretation of the FHS and 2)
Debian Policy w.r.t. messing about with configuration files for the dhcp
and tftp servers.

> I think two good options are:
>  * Copy the packages from the CD at install time, so they're cached for use
>    in creating VMs
>  * Install via Internet from a mirror
> The former being a better user experience, and the latter being simpler to
> implement.

The filesystem on the ISO already constitutes a valid mirror, doesn't
it?  If so, it shouldn't require many lines of shell to copy the
relevant bits of the ISO to the hard drive and teach the install system
we choose to implement to check if it already has a local mirror like

Soren Hansen
Ubuntu Server Team
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : https://lists.ubuntu.com/archives/ubuntu-devel/attachments/20080129/921051d7/attachment.pgp 

More information about the ubuntu-devel mailing list