Commit Graph

27 Commits

Author SHA1 Message Date
ertaozh
f731fb2ec9 fix bug 4609: rcons returns /opt/xcat/bin/rcons: line 62: [: ==: unary operator expected 2015-03-17 07:50:21 -04:00
Victor Hu
28cb65ebac rcons automatically uses confluent when it's installed on the xCAT
management machine.  Tests for /opt/confluent/bin/confetty

Change to first check consoleservice keyword in site table before
using confluent.  This allows us to install confluent on the machine
and control use with the keyword
2015-03-17 07:47:32 -04:00
jjohnson2
3cb83b2a19 Recognize confetty installed by pip
On some systems, pip install confetty will go to
/usr/local/bin.  Recognize and accept that.
2015-01-30 17:00:19 -05:00
ligc
db84e8ee89 fix for bug 4456, change the rcons shebang line to /bin/bash 2014-12-08 14:34:36 +08:00
jjohnson2
e2c31bad27 Implement confluent usage by r/wcons 2014-11-12 16:48:44 -05:00
lissav
40b5891c4a defect 4254 2014-09-08 12:20:14 -04:00
daniceexi
ef0fbad422 fix the issue in rcons that it generated empty .consolerc. and fixed the issue that generated incorect .consolerc when run multiple rcons in parallel 2014-08-04 10:14:26 -04:00
ligc
1a35256053 fix for bug 4202: parse the rcons -help and rcons --help 2014-07-28 17:01:19 -05:00
lissav
7293046915 defect 4091 2014-05-08 09:49:39 -04:00
linggao
56684fb6da handle when conserver is management node itslef.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15262 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-26 14:54:55 +00:00
linggao
fecc2a242e remove the debug mode for rcons
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14667 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-17 18:58:30 +00:00
linggao
053ffe4795 fixed defect 3159 rcons does not work when nodehm.conserver is set to MN
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14643 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-13 18:37:40 +00:00
ligc
8cf146bc90 remove debug mode /bin/sh -x for rcons
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14153 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-30 08:43:04 +00:00
linggao
822d3fae46 added code in rcons that does not require conserver
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14036 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-16 16:49:23 +00:00
xq2005
fefff805b5 change == into = for the rcons script
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14010 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-15 08:22:22 +00:00
bp-sawyers
95db581fae Add support for running rcons via sudo on aix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12555 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-07 18:46:25 +00:00
zhaoertao
1428987d4f fix bug 3513481. There was no command 'getent' in AIX.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12168 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-10 02:45:38 +00:00
jbjohnso
13765372a6 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/trunk@11945 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-22 13:52:29 +00:00
ligc
ffeb7efdc6 add a spy flag for rcons command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5413 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-09 05:45:59 +00:00
ligc
8373b78f8d fix for bug 2953258: comment out ssl settings in .consolerc if ssl is not enabled
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5257 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-23 05:49:30 +00:00
ligc
23a79b3925 conserver hierachy support code drop
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4596 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-18 06:24:36 +00:00
jbjohnso
0aa2cfdbb7 -Fix bug where console on SLES systems was not being fixed up if it had encryption support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4214 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-23 18:01:38 +00:00
bp-sawyers
22370febeb Fixed bug 2845137 in rcons: syntax error if no nodename specified. Also improved man page.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4067 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-01 15:55:58 +00:00
mxi1
c81d0dbf6f -defect 2810396 is fixed for SuSE.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3852 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-22 05:58:07 +00:00
wanghuaz
7fd9270d00 Add -f for rcons to optionally take write privilege of the console. By default, rcons only return a readonly console
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3253 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-24 10:33:09 +00:00
lissav
98f191f7b1 fix -h and -v message
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2438 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-10-31 15:01:50 +00:00
jbjohnso
e68fe9d2db -Move xCAT-server and client to not have 2.0 in name for trunk
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1561 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-06-03 14:56:33 +00:00