In my kickstarts, i use network install with following repos/packages (for the repo, the only change is version number 6 <-> 7):<br />
<br />
url --url="<a href="http://mirror.in2p3.fr/ftp/linux/CentOS/7/os/x86_64/"">http://mirror.in2p3.fr/ftp/linux/CentOS/7/os/x86_64/"</a> [<a href="http://mirror.in2p3.fr/ftp/linux/CentOS/7/os/x86_64/"" target="_blank">^</a>]<br />
repo --name="Puppet dependencies" --baseurl=<a href="http://yum.puppetlabs.com/el/7/dependencies/x86_64/">http://yum.puppetlabs.com/el/7/dependencies/x86_64/</a> [<a href="http://yum.puppetlabs.com/el/7/dependencies/x86_64/" target="_blank">^</a>]<br />
repo --name="Puppet" --baseurl=<a href="http://yum.puppetlabs.com/el/7/products/x86_64/">http://yum.puppetlabs.com/el/7/products/x86_64/</a> [<a href="http://yum.puppetlabs.com/el/7/products/x86_64/" target="_blank">^</a>]<br />
<br />
[...]<br />
<br />
%package<br />
<br />
[...]<br />
# We use puppet from puppetlabs repo<br />
puppet<br />
%end<br />
[...]<br />
<br />
It works great for CentOS 6, the vm is installed with puppet, but on CentOS7 anaconda complains that there is a dependency problem:<br />
puppet-3.7.1-1.el7.noarch requires ruby-augeas<br />
puppet-3.7.1-1.el7.noarch requires ruby-shadow<br />
<br />
Puppet package is in "puppet" repo and "missing" dependencies packages are provided by the "puppet dependencies" repo.<br />
<br />
if I replace original previous repo names in my kickstart by following:<br />
<br />
url --url="<a href="http://mirror.in2p3.fr/ftp/linux/CentOS/7/os/x86_64/"">http://mirror.in2p3.fr/ftp/linux/CentOS/7/os/x86_64/"</a> [<a href="http://mirror.in2p3.fr/ftp/linux/CentOS/7/os/x86_64/"" target="_blank">^</a>]<br />
repo --name="puppet-dependencies" --baseurl=<a href="http://yum.puppetlabs.com/el/7/dependencies/x86_64/">http://yum.puppetlabs.com/el/7/dependencies/x86_64/</a> [<a href="http://yum.puppetlabs.com/el/7/dependencies/x86_64/" target="_blank">^</a>]<br />
repo --name="Puppet" --baseurl=<a href="http://yum.puppetlabs.com/el/7/products/x86_64/">http://yum.puppetlabs.com/el/7/products/x86_64/</a> [<a href="http://yum.puppetlabs.com/el/7/products/x86_64/" target="_blank">^</a>]<br />
<br />
And all work has expected.<br />
<br />
In CentOS 7 installer, I've checked the repo file generated by the installer, and it set the repositoryid from the "--name" option of the repo line in the kickstart, but the man page of yum.conf say:<br />
<br />
The repository section(s) take the following form:<br />
<br />
Example: [repositoryid]<br />
name=Some name for this repository<br />
baseurl=<a href="url://path/to/repository/">url://path/to/repository/</a> [<a href="url://path/to/repository/" target="_blank">^</a>]<br />
<br />
repositoryid Must be a unique name for each repository, one word.<br />
<br />
name A human readable string describing the repository. <br />
[...]<br />
<br />
So for me it sound like a bug (regression) in the way anaconda handle repositories files generation.
↧