Using variables in kickstart file

Shabazian, Chip Chip.Shabazian at bankofamerica.com
Wed Jul 18 21:51:53 UTC 2007


We use %include /tmp/network every day, it works just fine.

-----Original Message-----
From: kickstart-list-bounces at redhat.com
[mailto:kickstart-list-bounces at redhat.com] On Behalf Of Ed Brown
Sent: Wednesday, July 18, 2007 2:50 PM
To: Discussion list about Kickstart
Subject: Re: Using variables in kickstart file

Gabrie wrote:
> So, if I get this right.... I can use /proc/cmdline to read the 
> command line that kickstart has been called from and use the output in

> the kickstart file (network section)?

No, you can't just use variables in the network line.

And I don't believe that you will be able to insert or include or modify
the network line parameters during %pre.  Yes, this works for packages
and partitioning, but I think it's too late for network parameters.  Now
I could be wrong, maybe that is not true for dhcp or cd-based installs.
(You haven't said what your install method is, though you mentioned a
dhcp server in passing.)

-Ed

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




More information about the Kickstart-list mailing list