RE: post config files not executing

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

 



Title: RE: post config files not executing

Thanks, This is really good information. 

So if post runs with chroot /mnt/sysimage  then it's impossible to get to /mnt/source without the  --nochroot flag. 
Am I right?

If you set -nochroot, then should %post -interpreter /bin/bash be relative to the nochroot?

In other words, what is correct:

%post -interpreter /bin/bash -nochroot

or

%post -interpreter /mnt/sysimage/bin/bash -nochroot

Thanks!

-- Ryan


Ryan Allen
Senior Test Engineer
F5 NETWORKS
desk: 206 - 272 - 6538
fax:   206 - 272 - 5585
email: r.allen@xxxxxx

 -----Original Message-----
From:   Jason L Tibbitts III [mailto:tibbs@xxxxxxxxxxx]
Sent:   Tuesday, December 04, 2001 10:25 AM
To:     kickstart-list@xxxxxxxxxx
Subject:        Re: post config files not executing

>>>>> "RA" == Ryan Allen <r.allen@xxxxxx> writes:

RA> First I want to fire off my script, but this is not working:

Well, do you get any errors?  The output from the %post section should
be visible on one of the VTs, VT3 I think.

Can you enter the commands by hand in the shell on VT2 after the
install has completed?  You need to do "chroot /mnt/sysimage" first,
then you should be running completely from the installed environment
just as %post does.

RA> 'source /mnt/source/postInstallScript' neither is this: 'open -s
RA> -w -- /mnt/source/postInstallScript'

Are these paths relative to the installed system?  %post runs under
"chroot /mnt/sysimage" unless you tell it not to with "--nochroot".

There are examples of running scripts from an NFS share in the
Customization Guide.  Try here:

http://www.redhat.com/docs/manuals/linux/RHL-7.2-Manual/custom-guide/ksconfig-postinstall.html

 - J<



_______________________________________________
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