Kickstart over network on RHEL7
I have a working kickstart configuration for RHEL5 and RHEL6. I have tried using both the boot.iso and dvd.iso. When I get to the installation prompt, I typically hit
I do know that the naming convention of the ksdevice has changed, and I have tried omitting that value, still to no avail.
What I would expect: KS to configure the network device, download KS file and start auto-deployment of unattended installation
What happens: Returns me to the same screen and puts in the default boot from CDROM parameters (e.g. initrd....)
What am I missing? Is there updated documentation from KS with RHEL7?
Thank you,
Steve
Responses
Hey Steve,
I realize you may have updated your boot string to omit sensitive data, but if IP=
You may have come across something that is actually still being worked on, as I do not see a "Deployment Guide" for RHEL 7 yet, which would have the information we are looking for. So, any recommendations I could/would make may only be relevant to RHEL 6 and before (i.e. ksdevice=bootif). I believe something has fundamentally changed with RHEL 7, since the new Spacewalk actually adds a new "Installer Generation" option.
If I was in this predicament, I would:
* attempt the install using the DVD
* select a network source for software
* (I would also use ATL-F2 to see what your network interfaces are during the install - ifconfig and/or lspci to validate)
* complete the installation
* review the anaconda file in /root
Hey Steve,
I don't know how "pro" this "pro-tip" is ;-)
(when you want to add "code" to a post, enclose the code with 3 x tilda's - without the quotes, of course)
"~~~"
cat /root/code
"~~~"
Seriously, nice work on the createrepo resolution. You are the first person that I have encountered to report that it is working!
There is a daily job that runs that recreates all the repo data.
(Unfortunately I do not have access to a Satellite at the moment - therefore, I am guessing at specifics and can update the thread later).
You have to log in to your Satellite as THE Administrator, then under the Admin tab there should be a Scheduled Tasks. Under that should be a job at the top (channel-repodata-bunch , I believe). Click the field on the right and run a Single Run.
https://access.redhat.com/site/documentation/en-US/Red_Hat_Satellite/5.6/html/User_Guide/chap-Red_Hat_Satellite-User_Guide-Scheduling_Red_Hat_Satellite_Administrative_Tasks.html
Another goofy thing I do while working through these types of issues:
mount up the ISO on my satellite in a web-accessible location (i.e. /var/www/html/pub/OS/RHEL-7.0-beta/) and then update my kickstart thread to point there
url --url http://satellite/pub/RHEL-7.0-beta
Just to make sure the mechanics of everything else is working OK.
Take care!
Might also want to check out the Beta docs:
https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/7-Beta/html-single/Installation_Guide/index.html#ch-kickstart2
Steve,
A little late to the party here but I'd like to know if there were any changes to the kickstart syntax or kickstart file you had to change in order to get this working. I seem to have come across the same issue you were having in this post, but my issue is that now I end up with an "error setting up base repository" message in the installation source section of the install. Right now I know the installation is reaching the kickstart file and it's being applied to other installation parameters.
I've also tried mounting the RHEL7 DVD ISO file in an accessible location on the satellite and specifying the "inst.repo=" kickstart parameter that results in the same error so I'm thinking maybe I'm missing something in my kickstart command regarding the repo location.
Any help would be much appreciated!
Thanks.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
