: #echo $saveks #echo $runpost #echo $nopxe #echo "\nsleep 20"
Which will produce the sleep you're looking for (read on for how to verify this).
You could also do it like this: : #echo $nopxe sleep 20You need the extra blank line before the "sleep" because of the way the #echo statements don't provide a line break.
The best way to figure these things out is to pick a system name, tweak your snippets or kickstart, then check your results at http://cobbler.your.domain/cblr/svc/op/ks/system/your-hostname. If it doesn't render, or you don't like the results, tweak again and refresh the page. It's the fastest way I've found to iterate around these kinds of changes.
Bret Wortman On 04/10/2014 05:11 AM, Sharuzzaman Ahmat Raslan wrote:
Hi all,I'm using red hat satellite, and our setup have primary satellite and few proxy that act as TFTP serverWe 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 delayI 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 setupecho "export COBBLER_SERVER=atlvsat01.amd.com <http://atlvsat01.amd.com>" > /etc/profile.d/cobbler.sh echo "setenv COBBLER_SERVER atlvsat01.amd.com <http://atlvsat01.amd.com>" > /etc/profile.d/cobbler.csh# End koan environment setupwget "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 setupecho "export COBBLER_SERVER=atlvsat01.amd.com <http://atlvsat01.amd.com>" > /etc/profile.d/cobbler.sh echo "setenv COBBLER_SERVER atlvsat01.amd.com <http://atlvsat01.amd.com>" > /etc/profile.d/cobbler.csh# End koan environment setupwget "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
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ cobbler mailing list [email protected] https://lists.fedorahosted.org/mailman/listinfo/cobbler
