Fix minor response errors
parent
27454dcfb1
commit
2738322276
|
@ -33,3 +33,5 @@ chmod 775 $ROOT_DIRECTORY
|
|||
# Get the hostname
|
||||
HOSTNAME=$(hostname -f)
|
||||
echo "Script completed for user $USERNAME with hostname $HOSTNAME" >> /home/jelastic/add-sftp-user-addon/script_output.log
|
||||
echo "USERNAME:$USERNAME"
|
||||
echo "PASSWORD:$PASSWORD"
|
||||
|
|
|
@ -57,6 +57,9 @@ actions:
|
|||
user: root
|
||||
- if ("${response.exitStatus}" != "0"):
|
||||
return: sftpError
|
||||
- setGlobals:
|
||||
username: ${response.out.USERNAME}
|
||||
password: ${response.out.PASSWORD}
|
||||
- return: sftpSuccess
|
||||
|
||||
onUninstall:
|
||||
|
|
Loading…
Reference in New Issue