Commit Graph

244 Commits

Author SHA1 Message Date
mxi1
7f3fb77741 -defect 2979871 is fixed;
"cp -a" and " echo '' " are used to emulate "mv -f" on statelite node


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6109 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-14 08:56:47 +00:00
nott
abfed2b0c6 Move the mkdir to before the getmypost call.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6071 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-12 12:14:15 +00:00
ligc
f8b7e79dc5 fix for ipv6 support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6036 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-10 08:05:31 +00:00
jjhua
d8c061ff30 fixed the defect 2979258
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5948 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-04 09:31:57 +00:00
wuzhy
d04796a620 adjust the xcat log path
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5889 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-27 05:52:26 +00:00
daniceexi
908d54eebe defect 2990760: make otherpkgs do NOT run when booting up. This has been fixed, but was overwritten by last checkin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5865 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-23 10:46:04 +00:00
mxi1
62142858f3 update the wget code to download function,
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5861 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-23 05:37:55 +00:00
mxi1
c874b9e858 for ftp://$SIP/postscripts, "--cut-dirs" should be 1, not 2.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5847 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-22 07:16:11 +00:00
mxi1
68a9b1be07 the "--cut-dirs=2" option makes that "wget" cannot get "_xcat" and "_ssh" from
ftp://$SIP/postscripts, it's removed now.


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5846 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-22 07:01:31 +00:00
nott
7a90d5af50 Convert AIX post scripts to use installdir site attribute value.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5843 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-21 19:03:49 +00:00
mxi1
c5aa4d7198 =remove useless comments
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5824 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-20 03:29:10 +00:00
mxi1
6b4a78c22b use "wget" to get all the postscripts for statelite node,
won't use "mount" any more!


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5796 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-16 11:02:41 +00:00
daniceexi
c2eca76b66 removed some unnecessary code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5790 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-16 09:01:55 +00:00
linggao
500d775412 bug fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5777 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-15 13:04:33 +00:00
mellor
3f29590a60 add support for "INCLUDE_PKGLISTS..." keyword for autoyast templates, and "#NEW_INSTALL_LIST#" for otherpkgs postscripts and updatenode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5758 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-13 17:30:54 +00:00
wuzhy
d8021e73fb adjust the code for run_ps and setbootfromnet
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5750 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-13 03:48:29 +00:00
wuzhy
a1dc150258 adjust the log code for run_ps
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5747 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-13 02:57:40 +00:00
wuzhy
2ca089af3a adjust the log code for run_ps
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5740 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-12 09:22:55 +00:00
wuzhy
94f6e16af6 log the stdout & stderr of each postscript to the local log file on each compute node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5728 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-09 06:12:40 +00:00
daniceexi
eaaa0313ee defect 2983699: postscript otherpkgs should not do anything when netboot to statelite
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5714 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-08 10:06:55 +00:00
ligc
ee102eb5cf new postscript setbootfromnet
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5709 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-08 01:29:57 +00:00
mellor
25f1f7ce9d Postscript logging - removed logging from awk scripts that broke postscript processing
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5687 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-06 16:58:05 +00:00
wuzhy
4e780ead9b add the more addional log information to postscripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5680 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-06 08:17:04 +00:00
mxi1
bdf3ba45c8 wonder the permission of syncfiles can be changed or not
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5623 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-31 06:35:27 +00:00
linggao
5a8c284b38 added non-interactive in zypper calls in otherpkgs postscript
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5600 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-29 20:40:57 +00:00
nott
88e9572c32 Sample cust script for setting up nimsh support.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5597 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-29 17:07:51 +00:00
daniceexi
6399a3f417 some minor modification related to updatenode --security
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5568 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-24 12:05:58 +00:00
daniceexi
da1c12d71c fix a minor bug
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5547 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-22 17:58:09 +00:00
daniceexi
6b4b8e4ca2 the code drop of updatenode --security
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5539 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-21 13:11:47 +00:00
linggao
551426e1d4 bug fix in xcatinstallpost
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5507 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-17 14:37:20 +00:00
linggao
a10f6c641b bug fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5502 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-17 13:42:21 +00:00
linggao
bed877bd50 fix node status and updatenode for statelite
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5409 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-08 20:54:06 +00:00
lissav
84df702cf3 fix for defect 2957917
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5332 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-02 13:31:04 +00:00
linggao
8779710521 fixed defect 2959572
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5327 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-01 20:30:38 +00:00
daniceexi
f8a71a9bde defect 2959471: The value of NODESETSTATE has the signal quotes,so the string comparing failed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5306 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-26 08:57:19 +00:00
daniceexi
5921efb1a6 defect 2954181: add code logic to handle the case that new dhcpd which does not write the *.info file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5287 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-24 09:44:42 +00:00
ligc
82d919d66e add the default gw setup in hardeths postscript
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5276 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-24 08:27:58 +00:00
lissav
c5cbd45911 add logger call for errors so we can detect them on the MN
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5263 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-23 15:15:32 +00:00
ligc
34a1589589 ntpdate is deprecated on SLES11, use ntpd -q -g instead
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5187 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-08 05:41:42 +00:00
mxi1
650c20fc5d added statelite mode support in xcatdsklspost; <xcatdsklspost 4> stands for statelite mode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5032 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-25 11:34:42 +00:00
daniceexi
68882c353c defect 2900900: Add the local path of postscript to avoid be treated as a command when postscript named with a special key word like test
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4993 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-20 10:00:27 +00:00
mxi1
828615c375 -bug 2931249 is fixed; otherpkgs now can work well with sles11.x
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4946 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-13 09:46:15 +00:00
ligc
d8bbe38994 fix for bug 2922078: 1. use run_ps to run the postbootscripts on AIX. 2. updatenode nodename postscripts_name should not run postbootscripts on AIX
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4849 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-28 03:25:36 +00:00
ligc
6ea2ab172a fix for bug 2918528: remove postbootscripts from mypostscript when postscript name is specified with updatenode command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4838 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-22 04:34:29 +00:00
linggao
1ff23c210d change xcatpostinit1 xcatinstallpost to executable
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4780 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-15 14:54:42 +00:00
linggao
ca4deae18b added some postscripts to get ready for supporting postbootscripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4778 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-15 14:25:36 +00:00
linggao
874280ef60 add -s in updatenode, xcatdsklspost supports retry logic
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4732 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-04 21:22:07 +00:00
daniceexi
2d4e596b3d Code drop of supporting the SRC mechanism for xcatd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4713 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-03 08:01:33 +00:00
nott
4ef1c14883 Handle -M input.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4702 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-01 18:17:15 +00:00
nott
4fa0b6620e Add support for the -m option.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4667 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-25 15:55:08 +00:00