Commit Graph

12063 Commits

Author SHA1 Message Date
xq2005
7ec3a97bdc modify the dracut install file for debian
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14926 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-19 03:56:34 +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
linggao
171017442d more on configib
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14923 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-18 21:25:08 +00:00
linggao
672fd91279 added configib postscript
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14922 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-18 18:06:10 +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
wanghuaz
48b64fc79a Did two things: 1. renmae the rpm spec and source directory to kitcomponent, which is more readable. 2. clean up the tmp and rpmbuild directory in the final kit directry.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14918 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-18 12:04:35 +00:00
wanghuaz
2cb196c6bf Fixing two problems: one is buildkit fails on SLES. we need to create several tmp directories before issuing rpmbuild command for rpmbuild command on SLES. second problem is a typo while creating the source packages.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14917 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-18 08:59:49 +00:00
asirxing
4ea1e8d0e6 Support #INCLUDE tag in pkglist.cfm file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14916 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-18 08:13:08 +00:00
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