Commit Graph

22 Commits

Author SHA1 Message Date
linggao
10ad3b6945 fix sf bug #3422 updatenode -P fails to resolve name of mypostscript file on the MN
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15484 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-13 19:05:27 +00:00
linggao
845774a571 fixed a defect # 3398 updatenode -P fails if hostname on the node is FQDN
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15379 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-04 22:32:17 +00:00
jbjohnso
8612355df9 Append rather than prepend xcatpost to PATH
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15378 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-04 21:56:58 +00:00
jjhua
a60b0c597d fixed bug 3291. in Linux, if the precreatemypostscripts is not set or set to 0 in site table, it will get the mypostscript.nodename fistly. If not get it, use getpostscript.awk version2 to generate the mypostscript file named mypostscript.nodename.tmp, then get it
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14911 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-17 09:31:00 +00:00
jjhua
7a62794c0f make postbootscripts work on sles11 diskfull installation,and allow the admin to specify RUNBOOTSCRIPTS=yes which will trigger the post boot scripts on a reboot of disk full nodes.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14872 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-14 07:48:09 +00:00
jjhua
937a403872 use chkconfig xcatpostinit1 on to make sure xcatpostinit1 could be started when booting
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14861 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-11 11:34:31 +00:00
jjhua
92931c7bb9 fixe bug 3280
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14859 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-11 11:02:25 +00:00
jjhua
bc1e7e26f6 modify some code to be compatible with the old diskless rootimg(s) before xCAT 2.8
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14762 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-06 05:40:48 +00:00
jjhua
698de9076f correct a typo
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14691 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-21 06:04:42 +00:00
daniceexi
6e67b0642a fix a typo that output of postscript could not be written to /var/log/xcat/xcat.log
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14671 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-18 02:58:44 +00:00
jjhua
5238c71638 for linux, make getpostscript.awk use the template method, instead of the original method
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14395 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-22 07:18:38 +00:00
jwsimpson
0ca023a373 update to fix run boot script problem. added chkconfig xcatpostinit1 off and other minor corrections.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14311 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-12 20:38:52 +00:00
linggao
dc6c986f4b added postscript setuppostbootscripts to support value change for site.runbootscripts.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14208 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-01 21:04:26 +00:00
jjhua
a1edd1ece5 performance enhancement, site.precreatemypostscripts=1 support for linux diskfull installation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14009 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-15 07:36:06 +00:00
immarvin
36dda35ce0 corrected the issue that PBS cannot run in first boot after installation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13829 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-17 11:12:39 +00:00
immarvin
18685bccef add a global variable return_value to keep the return value of the postbootscripts, do not update nodelist.status if site.nodestatus='n'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13792 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-14 02:46:50 +00:00
jwsimpson
e9a96fbfbe Updates to support postbootscripts on reboot
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13687 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-31 15:52:31 +00:00
jbjohnso
0c9f723786 Correct loop variable names in various post scripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12526 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-04 14:27:19 +00:00
jbjohnso
957464e075 Have wget http ignore robots.txt
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12352 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-26 12:40:46 +00:00
ligc
2d6e8d8a5d fix for bug 3487614: add timestamp when running postscripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12078 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-31 02:58:07 +00:00
ligc
9b0eef0aa9 fix for bug 3487614: move scripts to /xcatpost/mypostscript* and the requirement from bug 3497125
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12044 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-29 03:16:38 +00:00
ligc
8168b22e49 fix for bug 3487614: Full installation, extract the common code for generating the mypostscript file and make it common across all scripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11952 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-23 08:26:38 +00:00