Automated Kickstart install with modified ISO (add specific rpm's)
What we are trying to do is to setup a DVD that we can send to remote locations to upgrade the OS and an application. The intent is to have minimal requirements for personnel on-site. Put in dvd and boot to dvd. That really is all we want them doing.
So far i have a RHEL 6.5 iso that i've added a kickstart file to the root level and it works fine. Now i'm trying to get the extra RPM's that are needed to support the application to install as part of the process. I was hoping to add a software group that was made up of the required rpm's and call for that to be installed from the kickstart. Mostly i was trying to avoid doing things through post install scripts but if i have to do it that way i will.
Can anyone help me get this setup.
Responses
I bet Remmele will have a good answer for this as I know he does a lot of "disconnected Satellite" type stuff. (I.. do not ;-)
Initially I am thinking that you should create a separate repo on the ISO itself, create a *.repo file with the repo disabled. That way if you wanted to ship out a DVD with ONLY this application stack, you could. Then they would simply use yum --enablerepo=DVD-APP.
Great question!
i've been thinking about this one, and we also wanted to do the same... and had some thoughts that I wanted to interrogate/test... my initial idea without testing yet, create a custom repo (adding the rpms to the location where there is an install iso dump and create repo, mkisofs, and then verify sanity of deps etc, and test, and try... with a virtual system... I have yet another customer where I have yet to build my 7th satellite server (awaiting some things like storage), but thinking also of such an iso file...
updated, Richard, see links in my subsequent post
Tom, Yes, we do that (we always put the desired rpms in %packages area) already, but we do this on the satellite server, we present our 3rd party channels that have the benefit of a repomd.xml in a repository channel that was generated via the satellite server. But I am curious if a DVD whose original repomd.xml doesn't know of the non-Red-Hat rpms might take exception to the additional non-redhat packages.
For an DVD and no satellite server, the cited rpms in the %packages area, I am curious (see link below) if it would benefit to be able to have the additional rpms within the 'createrepo' with perhaps "createrepo --update" on the custom DVD since (it seems from what Richard mentions), these will be stand-alone with no available satellite server? Here is another example from 2009, but again, untested, initial thoughts
Would be interested in your thoughts... I haven't had time to try this at home, and with what James mentioned I only put out some untested initial thoughts. I plan on trying something sometime soon, but haven't had a chance yet.
Kind Regards,
Richard,
Haven't had time to test, but examine these links:
- this bit, along with the link in my previous reply to Tom Jones might be an initial starting place to test.
- This one from 2012, rhel 6.x seems detailed well Part 1 of 4
- This is Part 2 of 4
- This is Part 3 of 4
- This is Part 4 of 4
Examine those links in context. It seems those examples likely have what you are seeking
Kind Regards,
Hey - I have run in to a somewhat similiar issue in the past, albeit on COMPLETELY different type of hardware... When I was testing a few different configs (VMware ESX, RHEV and RHEL) on some PCs I had built as a Lab - I ran in to this same issue.
My resoution - booted to Knoppix (or some liveDVD) and completely wiped the drive. All zero's ;-) Wiped the MBR, ran dd on the first few hundred megs and then ran shred on the entire drive. Things magically worked after that ;-)
I assume the 1950 is a bit older and does not have UEFI - so, that likely is not messing with anything. I wonder if there is a BIOS setting to direct the BIOS where to look for the boot block? I would try to completely wipe the drive (like I mentioned) and try again.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
