add support for AIX ssh setup, more to be done
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11360 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
e20bf54dfc
commit
18068e4413
@ -1,6 +1,6 @@
|
||||
#!/usr/bin/awk -f
|
||||
BEGIN {
|
||||
if (ENVIRON["USEOPENSSLFORXCAT"]) {
|
||||
if ((ENVIRON["USEOPENSSLFORXCAT"]) || (ENVIRON["AIX"])) {
|
||||
server = "openssl s_client -quiet -connect " ENVIRON["XCATSERVER"] " 2> /dev/null"
|
||||
} else {
|
||||
server = "/inet/tcp/0/127.0.0.1/400"
|
||||
|
@ -44,7 +44,11 @@ fi
|
||||
allowcred.awk &
|
||||
CREDPID=$!
|
||||
sleep 1
|
||||
|
||||
if [ "$(uname -s)" = "AIX" ]; then
|
||||
AIX=1
|
||||
export AIX
|
||||
logger -t xcat "remoteshell setting up AIX"
|
||||
fi
|
||||
|
||||
getcredentials.awk ssh_dsa_hostkey | grep -E -v '</{0,1}xcatresponse>|</{0,1}serverdone>' | sed -e 's/</</' -e 's/>/>/' -e 's/&/&/' -e 's/"/"/' -e "s/'/'/" > /tmp/ssh_dsa_hostkey
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user