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]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux