You can pass a varible by examining /proc/cmdline which holds your kickstart command line complete with variables. On Wed, 29 Aug 2001, Steve M Bibayoff wrote: > Date: Wed, 29 Aug 2001 20:57:52 -0400 > From: Steve M Bibayoff <smb23@xxxxxxxxxxxxx> > Reply-To: kickstart-list@xxxxxxxxxx > To: kickstart-list@xxxxxxxxxx > Subject: Re: Passing a variable to ks.cfg > > Rebecca.R.Hepper@xxxxxxxxxxx wrote: > > ... I would like to be able to > > create just 1 ks.cfg file with some logic in it that can handle all > > thepossible situations. > > > > My thought is that in my syslinux.cfg file I could have four > > options (an > > example below) and then pass in a variable (not sure how to do > > this) to > > help me distinguish between the different cases. > > Never been able to pass a variable, and I never been able to get > scripting working in %pre, but I do know you could embed a script in > %post, so you could always run fdisk -l /dev/???? and get the info that > way. > > hth > > Steve > > > > _______________________________________________ > Kickstart-list mailing list > Kickstart-list@xxxxxxxxxx > https://listman.redhat.com/mailman/listinfo/kickstart-list >