kickstart on serial console and postinstall

Oden, James James.Oden at tekelec.com
Tue Nov 9 14:09:58 UTC 2004


> 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
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 3688 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/kickstart-list/attachments/20041109/8a1b9cc9/attachment.bin>


More information about the Kickstart-list mailing list