Hi all,

I'm using red hat satellite, and our setup have primary satellite and few
proxy that act as TFTP server

We are replicating the TFTP file from satellite to our proxy, thus there is
delay for that.

We found out that, right after kickstart, the updated TFTP file is still
not replicated, thus we need to delay the reboot in order to compensate for
the delay

I search nearly everywhere on how to add delay right after cobbler trigger,
but cannot find any template and snippet that do so. I think it is inside
the code.

What I want to do is changing this:

%post
# Start koan environment setup
echo "export COBBLER_SERVER=atlvsat01.amd.com" > /etc/profile.d/cobbler.sh
echo "setenv COBBLER_SERVER atlvsat01.amd.com" > /etc/profile.d/cobbler.csh
# End koan environment setup

wget "
http://atlvsat01.amd.com/cblr/svc/op/nopxe/system/cybvtestpxe01.amd.com"; -O
/dev/null
wget "http://atlvsat01.amd.com/cblr/svc/op/ks/system/cybvtestpxe01.amd.com";
-O /root/cobbler.ks
wget "
http://atlvsat01.amd.com/cblr/svc/op/trig/mode/post/system/cybvtestpxe01.amd.com";
-O /dev/null
%end

into this

%post
# Start koan environment setup
echo "export COBBLER_SERVER=atlvsat01.amd.com" > /etc/profile.d/cobbler.sh
echo "setenv COBBLER_SERVER atlvsat01.amd.com" > /etc/profile.d/cobbler.csh
# End koan environment setup

wget "
http://atlvsat01.amd.com/cblr/svc/op/nopxe/system/cybvtestpxe01.amd.com"; -O
/dev/null
wget "http://atlvsat01.amd.com/cblr/svc/op/ks/system/cybvtestpxe01.amd.com";
-O /root/cobbler.ks
wget "
http://atlvsat01.amd.com/cblr/svc/op/trig/mode/post/system/cybvtestpxe01.amd.com";
-O /dev/null

*sleep 20*
%end


Any suggestion?



-- 
Sharuzzaman Ahmat Raslan
_______________________________________________
cobbler mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/cobbler

Reply via email to