Specifying values dynamically using pre section

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

 



Hi,

I have all the RPMS on an HTTP server and using the following line I
start my kickstart. Somce servers are 32-bit and some are 64-bit. 

url --url http://debian-management-server/rhel/rhel4/amd-64/

At present I have to manually change the above URL in my  base
kickstart file if I have to install on a 32-bit machine. Like, I use

url --url http://debian-management-server/rhel/rhel4/i386/

I am sure there is a dynamic way of specifying such differences in the
form of variables in the pre section of the kickstart. If yes, can
someone give some examples. This will also help me in setting up the
hostname, ip-address and so on dynamically.

Regards.
-- 
Ajitabh Pandey
http://www.ajitabhpandey.info/
ICQ - 150615062
Registered Linux User - 240748
GnuPG Key ID - C2AED210
Key fingerprint = 8A56 0684 44C2 3373 D441  20AF 7398 4DEB C2AE D210
-----------------------------------
Q:	How many psychiatrists does it take to change a light bulb?
A:	Only one, but it takes a long time, and the light bulb has
	to really want to change.


[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