22
/usr/sbin/euca_conf --no-rsync --skip-scp-hostcheck --register-cluster "${CLUSTERNAME}" "${IP}"
23
reglog "euca_conf --register-cluster returned $?"
22
SHORT_COMMAND="euca_conf --register-cluster"
23
REAL_COMMAND="/usr/sbin/euca_conf --no-rsync --skip-scp-hostcheck --register-cluster "${CLUSTERNAME}" "${IP}""
24
COMMAND_OUTPUT=$(eval $REAL_COMMAND)
27
if [ $STATUS -eq 0 ];then
28
reglog "$SHORT_COMMAND returned SUCCESS"
30
reglog "$SHORT_COMMAND returned FAILURE (error $STATUS): Command attempted was \"$REAL_COMMAND\", and had the following output: \"$COMMAND_OUTPUT\""