Commit Graph

5071 Commits

Author SHA1 Message Date
nott
a40c9c08ed add support for | in nics table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14983 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-24 14:54:25 +00:00
wanghuaz
526e1fb67d Now kitcomponent and osimage could specify multiple serverroles, addkitcomp and chkkitcomp will match their every serverrole
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14978 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-24 10:00:25 +00:00
jjhua
278064041c after discussion of bug 3309, not put the empty variable in the mypostscript file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14971 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-24 01:13:22 +00:00
jbjohnso
698e5b21c5 Fix issues with startnet.cmd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14968 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-23 19:56:37 +00:00
linggao
ba48f4a0d8 Make routes persistent for sles/rh/ferdora/centos for makerouts command.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14966 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-23 18:36:42 +00:00
jbjohnso
6849011953 Fixes for genimage.cmd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14965 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-23 15:25:01 +00:00
jbjohnso
9a76937088 Add keyEncipherment to keyUsage since Java expects it
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14964 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-23 15:02:32 +00:00
jbjohnso
b042a85a69 Hooks for startnet.cmd to recognize and accept optical drive provided script update as appropriate
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14963 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-23 14:58:30 +00:00
jjhua
c8c64a5afe fixed bug 3309, export the empty varialbe
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14960 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-23 08:17:01 +00:00
ligc
d8896b1df8 provide a way to disable the warning message when run nodeset install/netboot/statelite
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14958 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-23 08:00:24 +00:00
ligc
ff2affd551 provide a way to disable the warning message when run nodeset install/netboot/statelite
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14957 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-23 07:52:19 +00:00
jjhua
8ec0fc9c97 fixed bug 3309, remove the comments line which begins with ##
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14954 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-23 07:14:53 +00:00
wanghuaz
0eccaea186 Fixing bug 3296: cleanup a variable that used in a loop to remove the duplicated packagenames
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14948 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-22 16:48:48 +00:00
jjhua
953f01b3f8 fixed bug 3300
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14941 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-22 08:30:27 +00:00
wanghuaz
3c8ad92ef8 Fixing a typo in comments
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14940 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-22 02:35:10 +00:00
creativezj
ca303919a3 fix #211459 wrong message while import node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14939 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-22 01:56:13 +00:00
wanghuaz
ddcb538720 hpc integration is replacing by kit. so the duplicated setting in xcat-server such as /etc/fstab generation should be enabled after hpc integration is used.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14937 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-22 00:37:38 +00:00
wanghuaz
e19bdb1181 hpc integration is replacing by kit. so the duplicated setting in xcat-server should be enabled after hpc integration is used.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14936 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-22 00:36:15 +00:00
wanghuaz
35d771323e Copy the exlist from IBMhpc to xCAT-server to be the default exlist.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14935 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-22 00:21:15 +00:00
jbjohnso
14ffb71f0e Have Windows domain allow the less secure 'securejoin' if indicated in site (can be rendered secure in *very* specific circumstances).
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14931 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-21 14:34:37 +00:00
bp-sawyers
3cf4f8f448 Fixed error msg when getpostscript.pm can match node name, to show original name
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14924 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-18 22:22:33 +00:00
bp-sawyers
27a7ca0556 Fix bugs 3284 and 3285 - xCAT-genesis-scripts-x86_64 trying to run mknb when xcatd is not ready
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14921 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-18 17:26:23 +00:00
nott
50890c8a4a add multi-domain support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14920 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-18 15:22:04 +00:00
jbjohnso
9c023486d9 Fix some mistakes in the SSL certificate tweaks
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14919 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-18 14:31:13 +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
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
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
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
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
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
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
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
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
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
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
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