simple pre script for user input
Ed Brown
ebrown at lanl.gov
Thu Nov 20 22:09:21 UTC 2008
Try adding this after 'chvt 3':
exec </dev/tty3 >/dev/tty3 2>/dev/tty3
-Ed
tony.chamberlain at lemko.com wrote:
> I'm betting the RPM program does not have its stdin from your terminal,
> so it is waiting on the read for the IP, which, even though you enter
> something, does not get read since your tty is not its stdin.
>
> -----Original Message-----
> From: Glenn Bailey [mailto:gbailey at terremark.com]
> Sent: Wednesday, November 19, 2008 07:12 PM
> To: kickstart-list at redhat.com
> Subject: simple pre script for user input
>
> Playing around with a %pre script for user input, and while this works fine
> in a normal shell, after I enter an IP it just hangs there and I have to hit
> alt-f2 and kill the process before it moves forward .. Anyway ideas? Like I
> said this works fine in a normal shell:
>
> %pre
> chvt 3
More information about the Kickstart-list
mailing list