Re: LXC distro container install script and libosinfo

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

 



On Fri, Apr 11, 2014 at 04:20:42PM +0200, Cedric Bosdonnat wrote:
> Hello,
> 
> I'm working on getting virt-install (and later virt-manager) to create
> the rootfs of distro containers using data from libosinfo. The idea is
> to check if the distro has an install script with lxc injection method
> and run it.
> 
> >From what I did on my local virt-manager tree, is to use --os-variant to
> designate the distro to install.
> 
> However libosinfo install scripts can have a bunch of required and
> optional parameters... I'm wondering what would be the best way to get
> these values input by the user.
> 
> There are basically two options:
>   1/ add an option for each possible install script parameter
>   2/ add a generic option like what osinfo-install-script does
> 
> Do you have any opinion on that?

The list of possible install script parameters is undefined, since
the end user can add arbitrary data to the libosinfo database. Thus
option 2 is the only viable approach I reckon.


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 :|

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list




[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux