RE: kickstart on serial console and postinstall

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

 



> 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>>


[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