Aleks, /proc/cmdline should be available in %post as well. So if you want to use it in the %post section, simply read and parse it from there again. Or something I did a lot was along these lines: ... %pre # keep the command line used to kickstart cat /proc/cmdline >/tmp/ks.cmdline ... %post --nochroot # keep some stuff from the installation cp /tmp/ks.cmdline /mnt/sysimage/root/ks.cmdline ... %post # do something here with /root/ks.cmdline ... Hope this helps, Kurt On Thu, Mar 25, 2010 at 02:38:24PM +0100, Aleksandar Lazic wrote: > Dear List, > > we read the paramters of the boot prompt like this. > > ### > %pre --interpreter /usr/bin/python > . > . > rdLine = (open("/proc/cmdline", "r").read()) > offNUS = (rdLine.find('nus') == -1) and (rdLine.find('nlis') == -1) > onRaid = rdLine.find('hwraid') == -1 > onInst = rdLine.find('install') != -1 > . > . > ### > > Please can you tell me how I can use this variables in the %post > section, maybe I have missed some documentation in the internet. > > Thank you > > Aleks _______________________________________________ Kickstart-list mailing list Kickstart-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/kickstart-list