[CentOS-devel] Question about generating a spin of CentOS 7

Manuel Wolfshant

wolfy at nobugconsulting.ro
Fri Oct 31 07:44:15 UTC 2014


On 10/31/2014 03:08 AM, Les Mikesell wrote:
> On Thu, Oct 30, 2014 at 7:06 PM, Doug Wellington<ddw at rincon.com>  wrote:
>> >Previously:
>>> >>Might be simpler in the long run to make it a 2-step process.  That is, do a minimal OS install, then have
>>> >>a 2nd DVD or USB key that they install after the base system with a script that upgrades any existing
>>> >>rpms and installs the rest of what you need.
>> >
>> >That adds an interesting set of questions.  Do I somehow try to get the postinstall script to prompt for it?  Do I try to create something similar to firstboot that would prompt for the second disc after the reboot?  Do I just list it in the install docs?  Right now the install docs are "1) Boot from DVD; 2) Choose system from menu."  I'd like to keep it that simple.
>> >
>> >Seems like I'd still have to create an appropriate comps.xml file for whatever was on the second disc anyway, so why not just create everything on the first/only disc to begin with?  Also, I always copy all of the RPMs into a local repository (e.g. /opt/repos/centos6u4) and run createrepo on it.  Having one comps.xml file that works for both the installation disc and the installed repository keeps things clean...
>> >
> Is it really too complicated for the 'hands-on' guy to log in as root,
You'd be surprised. There might not exist a "hands-on guy" able to do 
anything more advanced than "insert disc in cd-drive, boot system". Been 
there, had to deal with that. I even had to deal with the question "What 
does boot mean ?'



> cd to the mount point (or click on it if you run a GUI) and execute a
> command?  If they can do that, the command can be as simple as a
> script that says something like 'yum localinstall list_of_packages'
> with the rpms just sitting there.
"IF" being the keyword.



More information about the CentOS-devel mailing list