[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: User-interactivity in %pre
- From: Luciano Miguel Ferreira Rocha <strange nsk no-ip org>
- To: Discussion list about Kickstart <kickstart-list redhat com>
- Subject: Re: User-interactivity in %pre
- Date: Wed, 10 Nov 2004 20:30:26 +0000
On Wed, Nov 10, 2004 at 08:47:28AM -0700, Ed Brown wrote:
> Looks like you have the chvt part. You also need to redirect standard
> input/output. This is the shell command to do it:
>
> exec < /dev/tty3 > /dev/tty3
>
> I would guess you could wrap that in a python system call, like you did
> for chvt.
No, that would only change the spawned shell. He needs to open that file
(RDWR) and either change python's stdout, stdin to that one or use them
directly.
Or change the %pre to a script that just does the chvt, exec and
executes the python script somewhere. (wget? curl?)
Regards,
Luciano Rocha
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]