Re: [PATCH tck 0/6] Fix tests which need a full OS image

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Mar 28, 2014 at 08:27:45AM -0600, Mike Latimer wrote:
> On Friday, March 28, 2014 12:26:26 PM Daniel P. Berrange wrote:
> > A bunch of tests currently attempt to kickstart a full Fedora
> > OS image install. Everytime I try to update this kickstart to
> > a new version of Fedora it causes no end of pain. Switch the
> > tests over to use Richard Jones' virt-builder command which
> > is part of libguestfs. This makes it trivial to deploy and
> > customize full OS images from pre-built templates.
> > 
> > Mike - does Suse include a new enough version of libguestfs
> > to get access to the 'virt-builder' tool yet ?
> 
> Yes - in openSUSE 13.1 and the upcoming SLE-12 we do have virt-builder. You 
> are completely right about these tests being rather painful. We have some 
> local modifications that use autoyast to install a openSUSE 12.3 guest. This 
> works, but is not without complication. Switching to an openSUSE 13.1 guest 
> solves some issues and introduces others (just for the installation itself). 
> For the machines I'm immediately testing with, I hacked through the issues and 
> created a static 13.1 image that I deploy as part of my provisioning. ;)
> 
> I probably won't get to testing these changes today. If not, I'll go through 
> them on Monday. (When I do, I'll think about adding some type of option to 
> choose between guest types, rather than maintaining a local patch which 
> replaces Fedora with SUSE.)

I already made it configurable - just change the OS name in the config
file to any that virt-builder supports.

Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]