Re: Multiple %post and mailing list archives?

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

 



Someone emailed me a few weeks back and said it was possible. However, I tried unsuccessfully to have multiple post sections. Someone, else suggested for me to kick off another script during the post install.

so this is how I did it:
%post --nochroot
# run nochroot commands ...
chroot /mnt/sysimage /pathonimage/script.sh

my script.sh would be running in the chrooted envirnment.

hope that helps



Sean P. Kane wrote:

Two questions:

Is it possible to have multiple post sections defined at the end of your
file?
This way I could have some commands that run in the chroot environment
some that run outside of it and even some that use another interpreter?


Also, is there a searchable archive of this group anywhere? And if not,
would people be interested in one?

Thanks,
Sean



I've stopped 939 spam messages. You can too!
Get your free, safe spam protection at
http://www.cloudmark.com/spamnetsig/



_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/kickstart-list






[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