Re: kickstart ++ installing rpm

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

 



Gianluca Cecchi wrote:
On Wed, 06 Aug 2008 10:52:10 +0200 Mogens Kjaer wrote

Depending upon which Fedora

%post --log /root/post-install.log

or

%post --log /mnt/sysimage/root/post-install.log


AFAIK there is not a --log option for post section, but only one for the
interpreter to use (--interpreter ) and one to specify if you want a chroot
environment (default) or a non-chrooted environment (with --nochroot) . This
at least for RH EL upto 5.2... donna if latest fedora added this option...

In --nochroot you have to use paths relative to /mnt/sysimage for your
to-be-installed os

You can also have both %post and %post --nochroot sections inside the same
kickstart file.

I wrote it because I've actually tried it :-)

Since F9 the log file was created in the chroot environment,
before F9 it was not. No --nochroot was specified.

Havn't tried '%post --log' in RHEL 5, but in CentOS 5.2 it works
like in F8: The log file is created before chroot'ing.

Mogens

--
Mogens Kjaer, Carlsberg A/S, Computer Department
Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
Phone: +45 33 27 53 25, Fax: +45 33 27 47 08
Email: mk@xxxxxx Homepage: http://www.crc.dk

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux