diff --git a/xCAT-client-2.0/bin/rcons b/xCAT-client-2.0/bin/rcons index 3cc983d5b..bd0cf19d5 100755 --- a/xCAT-client-2.0/bin/rcons +++ b/xCAT-client-2.0/bin/rcons @@ -11,6 +11,8 @@ fi CONSERVER=`echo $CONSERVER|cut -d: -f 1` if [ ! -f $HOME/.consolerc ]; then echo 'config * {' > $HOME/.consolerc + echo " port 782;" >> $HOME/.consolerc + echo " sslenabled yes;" >> $HOME/.consolerc echo " sslauthority $HOME/.xcat/ca.pem;" >> $HOME/.consolerc echo " sslcredentials $HOME/.xcat/client-cred.pem;" >> $HOME/.consolerc echo '}' >> $HOME/.consolerc