RE: simple pre script for user input

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

 



After looking at what Kyle suggested it was grabbing the input from tty1 and
I was able to flip back and forth between consoles to make it work. Your suggestion
below fixed the issue, thnx!

FYI, this is on ESX 3.5 Update 2 ..

> -----Original Message-----
> From: kickstart-list-bounces@xxxxxxxxxx
> [mailto:kickstart-list-bounces@xxxxxxxxxx] On Behalf Of Ed Brown
> Sent: Thursday, November 20, 2008 4:09 PM
> To: Discussion list about Kickstart
> Subject: Re: simple pre script for user input
>
> Try adding this after 'chvt 3':
>
> exec </dev/tty3 >/dev/tty3 2>/dev/tty3
>
> -Ed
>
> tony.chamberlain@xxxxxxxxx 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@xxxxxxxxxxxxx]
> > Sent: Wednesday, November 19, 2008 07:12 PM
> > To: kickstart-list@xxxxxxxxxx
> > 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
>
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/kickstart-list
>

_______________________________________________
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