Re: Re: [libvirt] virt-install and custom distros

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

 



Kay Williams wrote:
> Cole Robinson wrote:
>> Kay Williams wrote:
>>> We have an application that builds custom distributions based on RHEL, CentOS or 
>>> Fedora.  We would like to install these over the network using virt-install, but 
>>> we've run into an issue with the distro check logic. Specifically, virt-install 
>>> fails unless it finds a string "Red Hat Enterprise Linux", "Fedora"  or "CentOS" 
>>> within the family field of the .treeinfo file.
>>>
>>> Our application currently sets the family field to the user-provided distro name 
>>> (see below).  We have avoided using the base distro name given trademark concerns.
>>>
>>>      [general]
>>>      family = <user provided value>
>>>      variant = <user provided value>
>>>
>>> We can get virt-install to pass the distro check by setting the family name to 
>>> one of the accepted values, e.g.
>>>
>>>      [general]
>>>      family = Fedora
>>>      variant = [user provided distro name]
>>>
>>> Is this the expected/desired use for the family and variant fields?  Or is there 
>>> another approach we should consider?
>>>
>>> Thanks,
>>> Kay

Okay, this should work now:

http://hg.et.redhat.com/virt/applications/virtinst--devel?cs=0080e4c6652f

We won't detect the custom distro as Fedora, but we can still
boot off of it by parsing it's treeinfo for the relevant
paths or just polling known tree locations for media.

Let me know if there are any problems.

Thanks,
Cole

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

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux