Commit Graph

12053 Commits

Author SHA1 Message Date
jjhua
8d6ca24d40 fixed bug 3288. when xdsh with -e and -E, the environment file should be copied to the target-node firstly through fork_no_output()
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14915 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-18 03:37:00 +00:00
jbjohnso
00710fc339 Correct previous attempt to conditionally populate scriptcontents. Moving the scope inside the conditional obliterated it from outside
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14914 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-17 21:43:27 +00:00
jbjohnso
05796434a8 Have xcatd not print warnings in the event of non-resolvable cirumstance
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14913 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-17 21:43:09 +00:00
wanghuaz
445211b036 Enhanced non_native_package support. previously non_native_package don't support external packages, so it doesn't work with incomplete kit build. Now user could specify a hardcode 'EXTERNALPKGS:' in non_native_package attribute. for example, in buildkit.conf, you can write like non_native_pkgs=EXTENRALPKGS:gpfs_base-xxxxxxx.update.ppc64.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14912 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-17 17:09:31 +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
9b7b07a6ee fxied bug 3291 in AIX env. There is not precreatemypostscripts=1 in site table for AIX. So get the mypostscript.nodename.tmp directly.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14910 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-17 09:23:39 +00:00
jjhua
24a5be82a2 fixd bug 3291, when run getpostscript.awk version2, create mypostscripts.nodename.tmp and get the mypostscripts.nodename.tmp later insteadf of mypostscripts.nodename
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14909 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-17 09:20:12 +00:00
jjhua
a013a88e0e fixd bug 3291, when run getpostscript.awk version2, create mypostscripts.nodename.tmp
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14908 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-17 09:15:27 +00:00
jjhua
fb41dc3b81 I removed one comment which could cause errors in AIX environment
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14907 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-17 08:42:53 +00:00
leiaibj
9d454c2d1b fix a bug caused by hostname validation rule
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14906 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-17 06:40:33 +00:00
wanghuaz
2a12e49888 Support wildcards in package names in buildkit.conf
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14905 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-17 03:34:26 +00:00
xq2005
f4a553d085 debian default run level is 2, add catd to init.d
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14904 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-17 03:10:34 +00:00
jbjohnso
496393222f Fix more instances of namespace for JSON functions
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14903 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-16 21:02:09 +00:00
jbjohnso
499cc45999 Fix problem in debian plugin indicated an incorrect url for unattended install file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14902 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-16 20:01:16 +00:00
jbjohnso
b94a591227 Fix sles to deal with alt $installroot
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14901 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-16 18:44:54 +00:00
jbjohnso
9fe02e2e3a Replace $installroot with $install in a couple of URL specifications
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14900 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-16 18:29:44 +00:00
wanghuaz
5c077303c7 Fixing a problem in buildkit to allow multiple genimage_postinstall scripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14899 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-16 16:36:29 +00:00
wanghuaz
a665a4ebc3 handle multiple postinstall script in linuximage table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14898 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-16 16:27:44 +00:00
wanghuaz
86c315575f Added genimage_postinstall attribute in kitcomponent table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14897 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-16 16:13:45 +00:00
wanghuaz
b9c16c57c6 Added genimage_postinstall attribute in addkitcomp/rmkitcomp
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14896 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-16 16:04:46 +00:00
lissav
fac10e8032 fix defect 3290
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14895 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-16 11:45:09 +00:00
immarvin
4b2677b87e replace "XCATBYPASS=Y xdsh..." with "InstUtils->xcmd()"
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14894 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-16 08:22:01 +00:00
jbjohnso
8fc33eaeea Enhanced inventory collection of ethernet devices
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14893 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-15 20:00:44 +00:00
daniceexi
d0a97ba739 defect 3287:avoid to running gettyset for rh6 and higher
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14892 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-15 13:57:23 +00:00
sjing
b3fb23c724 fix for bug 3144 - error message is not explicit for xcat2nim -t group.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14890 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-15 13:34:01 +00:00
daniceexi
fcd6182b3d defect 3287:avoid to running gettyset for sles11 and higher
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14888 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-15 13:11:41 +00:00
leiaibj
3fd2310ec6 1. resolve #3283: a typo issue. 2. drop uselessness method isReservedIP. 3. do not validate IP address whlie creating an unmanaged device. 4. Correct some messages
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14887 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-15 08:20:19 +00:00
sjing
530adb3db1 fix for bug 2832
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14886 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-15 06:46:41 +00:00
sjing
bc9575a42e fix for bug 2832
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14885 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-15 06:43:25 +00:00
sjing
23bf0b0c9c fix for bug 2832
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14884 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-15 06:32:16 +00:00
sjing
c04a6f979e fix for bug 2832
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14883 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-15 06:27:31 +00:00
sjing
515baf29e7 fix for bug 2832
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14882 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-15 06:11:21 +00:00
leiaibj
c01a6918f7 add support for new nics table delimiter
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14881 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-15 06:04:22 +00:00
leiaibj
f176866943 If no nodes specified for nodepurge, nodechprofile and noderefresh, then just print help message
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14880 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-15 05:47:34 +00:00
jjhua
485bf6c6b1 use -a as a logical and between two expression; use cron as a Should-start for sles
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14879 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-15 05:16:47 +00:00
creativezj
a7b54d89d5 update error messages
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14877 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-15 01:56:16 +00:00
jbjohnso
f740315ef2 Have keyUsage and extendedkeyusage set for user/server certficates as is befitting each role
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14876 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-14 16:40:51 +00:00
jbjohnso
92508cf564 Tweak SSL setup scripts to have a CA more convenient for server and client scripts
Sign server, ca, and client certificate with more unique attributes delineating roles

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14875 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-14 16:40:39 +00:00
ligc
0e92da0f5f for encrypted system password in passwd table, the SHA256 and SHA512 encrypted passwords could be automatically recongnized
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14874 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-14 14:56:44 +00:00
daniceexi
709fc270ae defect 3282: use the /var/run/xcatd.pid to store the main pid of xcat if no pidfile is specified with -p flag
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14873 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-14 13:12:02 +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
ligc
9aa954458f comment out the hardeths, problematic in several scenarios, hard to debug, MN ip should be configured manually or through DHCP
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14871 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-14 07:22:47 +00:00
daniceexi
8846c95bea make the centos to support dracut
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14869 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-14 06:58:00 +00:00
nott
238d650327 add multi-domain support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14868 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-12 20:03:37 +00:00
jbjohnso
133551dd07 Some fixes for WS PUT operations
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14867 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-11 21:21:05 +00:00
jbjohnso
5ecab2d703 Repair JSON in web service (to_json is not imported to namespace on 'require', could do import, but just doing JSON:: to be clearer
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14866 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-11 20:52:46 +00:00
jbjohnso
602015f5c4 Ccheck in forgotten remoteimmsetup.pm from my repository
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14865 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-11 17:54:21 +00:00
nott
be68d223df change nics delimiter and add nicaliases
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14864 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-11 16:19:23 +00:00
lissav
d9cb714aed add info
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14863 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-11 13:10:41 +00:00
jjhua
87bb1c28ad correct the syntax
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14862 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-11 11:44:47 +00:00