How to transfer variable from one section to another

Gabrie thegabeman at gmail.com
Thu Jul 26 08:45:37 UTC 2007


Thanks !!! Worked excellent.

Finally I finished my automatic scripting procedure :-)



On 7/25/07, Ed Brown <ebrown at lanl.gov> wrote:
> Gabrie wrote:
>
> > cat << EOF1 >> /call-script.sh
>
> > Is there a place I could put this script, so I can find it in the post
> > section? Or should I do this in an other way?
>
> One way to handle this is to use two %post sections, the first not
> chroot-ed, and copy the script to somewhere under /mnt/sysimage, which
> is the root of the chroot-ed environment (newly installed filesystem):
>
> %post --nochroot
> cp /call-script.sh /mnt/sysimage/call-script.sh
>
> %post
> ...
> </call-script.sh available here now>
>
>
> -Ed
>
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list at redhat.com
> https://www.redhat.com/mailman/listinfo/kickstart-list
>




More information about the Kickstart-list mailing list