[libvirt] [PATCH v2]

Gerhard Stenzel gstenzel at linux.vnet.ibm.com
Thu Apr 8 15:13:45 UTC 2010


On Thu, 2010-04-08 at 14:07 +0100, Daniel P. Berrange wrote:
> So I think what we'd want todo is to write a 
> kickstart file that installs  a bare minimum Fedora guest OS, with a
> pre-set root password, ssh daemon  active & known IP address. Then use
> that with Rich Jones'  febootstrap script to create the guest image
> at runtime. We'd cache the guest image between runs of the TCK, so the
> overhead of febootstrap will only be seen the first time.
> 
febootstrap seems like a good way to prepare a guest with the necessary
files in it, but I have not found anything in febootstrap about
kickstart support or installation in a disk image. Have I overlooked
something?

So. my understanding of your proposal is:
- create a image file with qemu-img
- loop back mount that image file
- use febootstrap to install a fedora file system into image file

I still have some problems setting the root password via
febootstrap-run.
Message is: passwd: Can not identity you

Would the call to febootstrap be part of a libvirt-TCK script?


An alternative could be use <cmdline/> in the domain xml to pass the
kickstart file to the basic Fedora anaconda install kernel+initrd and do
the installation from the guest itself. 

-- 
Best regards, 

Gerhard Stenzel, 
-----------------------------------------------------------------------------------------------------------------------------------
IBM Deutschland Research & Development GmbH
Vorsitzender des Aufsichtsrats: Martin Jetter
Geschäftsführung: Dirk Wittkopp
Sitz der Gesellschaft: Böblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294




More information about the libvir-list mailing list