I'm trying to install CentOS7 using a kickstart file which I've written. Below is a snippet from the kickstart
##################################
##### 3. Package installation
##################################
repo --name="CentOS" --baseurl=http://mirror.centos.org/centos/7/os/x86_64/
%packages
base
core
man
git
ruby
rpm-build
apache-maven
%end
However, I'm receiving an error 'You have specified that the package 'git' should be installed. This package does not exist. Would you like to continue the install without this package?
The installation is meant to be non-interactive but I'm assuming if the package was available it would continue. I've typed 'continue' for git and every package in the above list was also unavailable.
How do I enable the yum repos or fix this problem during OS installation?
url
statement? If so, what is that pointing at? Or, does it have anyrepo
statements? – thrig May 19 '16 at 19:56url --url=http://mirror.centos.org/centos/7/os/x86_64/
entry and remove thatrepo
line? (I usually instead point kickstarts to a local copy of the same, for better predictability.) – thrig May 19 '16 at 20:59