"Daniel P. Berrange" <berra...@redhat.com> wrote on 04/08/2010 09:07:39 AM:
> > Due to licensing complexity we can't distribute pre-built guest images > directly with the TCK. 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. Would it be possible to download one of the images at these links as part of the script? http://stacklet.com/downloads/images/vmdk/fedora/12 http://stacklet.com/downloads/images/vmdk/fedora/12.64bit The images are in vmdk format, so a one-time conversion may be necessary -> qemu-img convert -O raw fedora.12.x86-64.vmdk fc12.img The image seems to use DHCP, so a pre-cooked ifcfg-eth0 may need to be put into it. -> mount -o loop,offset=32256 fc12.img ./mnt -> cp ifcfg-eth0.master ./mnt/etc/sysconfig/network-scripts/ifcfg-eth0 Regards, Stefan > Then, your test scripts can simply request booting of a guest using this > minimal guest image instead of the normal anaconda kernel/initrd the TCK > uses. > > Daniel > -- > |: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/:| > |: http://libvirt.org -o- http://virt-manager.org -o- http://deltacloud.org:| > |: http://autobuild.org -o- http://search.cpan.org/~danberr/:| > |: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|
-- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list