You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ya...@apache.org on 2014/03/25 23:56:22 UTC

git commit: updated refs/heads/master to cd79306

Repository: cloudstack
Updated Branches:
  refs/heads/master 93a234051 -> cd7930602


CLOUDSTACK-6285: Fix savepassword.sh script for clear out old entries


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/cd793060
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/cd793060
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/cd793060

Branch: refs/heads/master
Commit: cd7930602146ff51d8d7f510f878d1465b7a9885
Parents: 93a2340
Author: Sheng Yang <sh...@citrix.com>
Authored: Tue Mar 25 15:55:41 2014 -0700
Committer: Sheng Yang <sh...@citrix.com>
Committed: Tue Mar 25 15:56:15 2014 -0700

----------------------------------------------------------------------
 systemvm/patches/debian/config/opt/cloud/bin/savepassword.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/cd793060/systemvm/patches/debian/config/opt/cloud/bin/savepassword.sh
----------------------------------------------------------------------
diff --git a/systemvm/patches/debian/config/opt/cloud/bin/savepassword.sh b/systemvm/patches/debian/config/opt/cloud/bin/savepassword.sh
index 1ea27e5..21fa09d 100755
--- a/systemvm/patches/debian/config/opt/cloud/bin/savepassword.sh
+++ b/systemvm/patches/debian/config/opt/cloud/bin/savepassword.sh
@@ -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 ]