mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-6285: Fix savepassword.sh script for clear out old entries
This commit is contained in:
parent
d417ce0d70
commit
a6e33143c2
|
|
@ -52,7 +52,7 @@ done
|
|||
|
||||
[ -f $PASSWD_FILE ] || touch $PASSWD_FILE
|
||||
|
||||
sed -i /$VM_IP/d $PASSWD_FILE
|
||||
sed -i /$VM_IP=/d $PASSWD_FILE
|
||||
|
||||
ps aux | grep serve_password.sh |grep -v grep 2>&1 > /dev/null
|
||||
if [ $? -eq 0 ]
|
||||
|
|
|
|||
Loading…
Reference in New Issue