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

RE: kickstart on serial console and postinstall



> I'm doing some PXE/kickstart installations through serial console.
> 
> my pxelinux.cfg/default has "console=tty0 console=ttyS1,9600" in the append
> line.
>
> The installation is working just fine over the serial line, but I'd like to
> check the output of the postinstall as it happens.
> 
> Is there a way to get the output of the postinstall (normally on virtual
> terminal #3 I think) out on the serial console ?

There is a log created by anaconda that has this output.  In your %post scriptlet you need to copy it to the running system.
It must be a %post that is not in a chroot.
 
   %post --nochroot
   cp -p /tmp/anaconda.log /mnt/sysimage/root/anaconda.log
 
Cheers...james
 

<<winmail.dat>>


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