Skip to content

Commit f16dc3f

Browse files
author
Sheng Yang
committed
CLOUDSTACK-6285: Fix savepassword.sh script for clear out old entries
1 parent 6e1a43a commit f16dc3f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

systemvm/patches/debian/config/opt/cloud/bin/savepassword.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ done
5252

5353
[ -f $PASSWD_FILE ] || touch $PASSWD_FILE
5454

55-
sed -i /$VM_IP/d $PASSWD_FILE
55+
sed -i /$VM_IP=/d $PASSWD_FILE
5656

5757
ps aux | grep serve_password.sh |grep -v grep 2>&1 > /dev/null
5858
if [ $? -eq 0 ]

0 commit comments

Comments
 (0)