RE: passing a variable from boot to %pre or %post scripts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sure.  A trick I use is to set values on the boot command line in the grub
loader config.  I modified my boot CD to have an option called quick at the
loader prompt.  I then pass the param anaconda_quick as a command line
argument to the kernel, which will ignore unknown options, and so will the
drivers.  

Now in %pre and %post you can get the info from the /proc/cmdline file.  

	-_Dave

-----Original Message-----
From: kickstart-list-bounces@xxxxxxxxxx
[mailto:kickstart-list-bounces@xxxxxxxxxx]On Behalf Of Daniel Spratlen
Sent: Wednesday, February 23, 2005 11:52 AM
To: Discussion list about Kickstart
Subject: passing a variable from boot to %pre or %post scripts


Is it possible to pass a variable from kernel boot time to a %pre or 
%post install script?


thanks,
Daniel

_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list


[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux