Commit Graph

213 Commits

Author SHA1 Message Date
sjing
9d9d849cc3 not try to give "Error" message when the return code of actual command is non-zero, instead, use the return code of the actual command as the return code of xcatchroot.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12196 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-11 10:35:27 +00:00
zhaoertao
dd953a1d17 fix bug 3513481. There was no command 'getent' in AIX.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12169 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-10 04:52:26 +00:00
jbjohnso
f9715aaebb Change psh to not leave STDIN open. Hopefully this helps ssh not get hung up expecting enters inexplicably
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12050 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-29 13:31:04 +00:00
linggao
8fc204c7b1 added interactive feature for genimage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12022 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-27 19:20:36 +00:00
lissav
97f5def116 Add additional LL setup for authentication when running db2sqlsetup -S -o
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12020 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-27 15:16:10 +00:00
jbjohnso
82c5ed555f Update other p* commands to also be sudo friendly
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@11965 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-23 12:56:06 +00:00
jbjohnso
7bed33128a Fix psh to update homedirectory in event of sudo
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@11964 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-23 12:55:52 +00:00
jbjohnso
0deb64b53a Have rcons check and set $HOME since sudo won't give an accurate looking home directory
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@11963 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-23 12:55:42 +00:00
nott
32315f63dd add force option for nim methods
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11711 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-29 14:26:30 +00:00
lissav
f1df4dbfe4 fix defect 3474407
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11676 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-24 13:15:27 +00:00
nott
a4b2da2f4c addtional output
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11409 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-01-24 20:14:33 +00:00
nott
53be958240 add -d option to mkdsklsnode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11373 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-01-12 17:09:07 +00:00
ligc
be26420229 fix for bug 3465129: pping should handle the output 'address not found'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11358 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-01-06 08:30:34 +00:00
nott
a4b0b85672 fix getopt call
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11245 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-12-14 15:34:54 +00:00
lissav
4ee9e1b4ab fix for defect 3458311
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11218 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-12-12 20:01:42 +00:00
lissav
dd5a09aff3 fix for defect 3458311
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11217 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-12-12 19:54:30 +00:00
lissav
c79721e81a fix hang running xcat commands using ssh from MN on SN
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11215 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-12-12 16:25:53 +00:00
bp-sawyers
3e0aa115e8 Changed location of uploaded doc tarball
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11036 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-11-23 10:33:58 +00:00
bp-sawyers
902d223fb8 made links work in the downloaded docs in getxcatdocs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10968 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-11-03 22:17:32 +00:00
bp-sawyers
b5fcb0f274 A few more fixes to getxcatdocs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10965 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-11-03 15:42:35 +00:00
bp-sawyers
64b86f4a67 add upload option to getxcatdocs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10962 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-11-03 13:55:05 +00:00
wanghuaz
8dd5e11774 Removed the check of pping/ppping -i option when trying to remove the 'hfx' postfix in hostname, since in power 775 cluster, it is also possible to check ethernet connections with -i enx.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10929 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-10-31 10:59:01 +00:00
wanghuaz
5cde251816 Make pping -i option support hfi interfaces
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10922 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-10-30 08:16:52 +00:00
lissav
9e3b054fc1 more conversion to RemoteShellExp.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10793 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-10-17 13:35:00 +00:00
lissav
2362cb060e warn do not use xdsh -K fro Mellanox switch
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10730 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-10-10 16:45:13 +00:00
lissav
88f0c8b0ae fix tar when no directory input
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10664 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-28 18:15:11 +00:00
lissav
5088278f73 add tar/gzip to doc process
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10661 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-28 13:44:17 +00:00
lissav
d4506495fa fix bad message
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10655 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-28 11:26:02 +00:00
yinle
21ff396236 modify a little mistake: pping print ":ping"
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10552 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-19 13:46:51 +00:00
linggao
950d8dffb4 updated genimage man page, defect 3408401
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10514 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-13 19:51:47 +00:00
lissav
19b8930767 remove rc.db2 setup does not work
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10429 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-01 11:27:08 +00:00
lissav
6f7df46e19 Add check that databaseloc is not in the site.installdir directory, that is also not in the installloc directory defect 3392944
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10337 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-08-22 15:45:18 +00:00
lissav
6e750ad6da change nofiles limit
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10249 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-08-09 12:51:44 +00:00
lissav
09f05896cc fix message about missing 32 bit packages for redhat6
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10219 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-08-03 20:54:08 +00:00
lissav
e12bf7bd77 put in wrong path for odbcinst.ini when databaseloc set in site table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10173 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-07-27 11:54:37 +00:00
lissav
cc862bb686 fix for defect 3363367 need to create /etc/rc.db2 file and update with EXTSHM=ON
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10059 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-07-12 13:59:42 +00:00
linggao
a862e0870b supprt genimage plugin for urbunto, debian and fedora12
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10040 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-07-07 20:48:25 +00:00
linggao
8762d8b7c1 supprt genimage plugin for urbunto, debian and fedora12
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10039 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-07-07 20:38:17 +00:00
linggao
8e9edf3f53 added genimage plugin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10036 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-07-07 16:11:10 +00:00
daniceexi
4234c63ce2 defect 3324536: fix the issue updatenode cannot handle the node with -h inside
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9906 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-23 05:59:23 +00:00
lissav
5eccf45ec4 add check for 32 bit unixODBC, pam and openssl for Redhat 6 CNM support defect 3314331
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9899 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-22 18:55:14 +00:00
wanghuaz
8e77916a69 Fixed one bug in chvm with unexpect options
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9824 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-16 09:31:39 +00:00
lissav
515265510f fix defect 3314547
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9780 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-10 10:33:09 +00:00
jbjohnso
54cdb92978 -Add chhypervisor to manage vCenter enter/exit maintenance mode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9777 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-09 20:59:43 +00:00
lissav
e19be49149 Make the databaseloc directory, if it does not exist
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9765 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-08 15:37:50 +00:00
lissav
cf1b14ada8 add instance id password change option
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9757 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-07 17:23:11 +00:00
lissav
789b4f29e2 Have admin enter passwd twice, hide commands with passwords in them in verbose mode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9740 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-03 17:54:59 +00:00
lissav
78048161f9 fix message
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9739 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-03 11:35:54 +00:00
mellor
8adbaaa6a2 add -c flag to xcoll to print total nodecount for each set of output
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9639 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-19 20:38:12 +00:00
lissav
928cd9465c fix cron message
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9636 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-19 12:28:20 +00:00