Re: KS: can I supply default values and allow the user to override them?

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

 



On Sun, May 11, 2003 at 12:35:22PM +0200, Avner BenHanoch wrote:
> I want to let the user configure some parameters (like network settings),
> but supply him with default values for these parameters (like:
> "network --bootproto=dhcp --device=eth0").
> If the user type something then the system should use it, otherwise (let say
> after 30 seconds) the system should use my default values.
> The rest of the installation should remain silent!

I'm not sure about the timeout, but I've had some success using the the
%include construct.  In the %pre section, I ask a question, and store 
the generated section of the kickstart file in /tmp/foo.  Then, the 
ks file can do "%include /tmp/foo"

--
Peter Fales			  Lucent Technologies, Room 1C-436
N9IYJ            		  2000 N Naperville Rd PO Box 3033
internet: psfales@xxxxxxxxxx	  Naperville, IL 60566-7033
			 	  work:	(630) 979-8031

> 
> 
> _______________________________________________
> 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