[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: KS: can I supply default values and allow the user to override them?
- From: Peter Fales <psfales lucent com>
- To: kickstart-list redhat com
- Subject: Re: KS: can I supply default values and allow the user to override them?
- Date: Sun, 11 May 2003 08:34:31 -0500
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 lucent com Naperville, IL 60566-7033
work: (630) 979-8031
>
>
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list redhat com
> https://www.redhat.com/mailman/listinfo/kickstart-list
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]