VPC : password reset fix

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

Branch: refs/heads/master
Commit: e44d306dd92d15735a5889ea086c408c2a230ce8
Parents: 1946a9a
Author: Anthony Xu <[email protected]>
Authored: Wed Sep 26 10:13:55 2012 -0700
Committer: Anthony Xu <[email protected]>
Committed: Wed Sep 26 17:42:42 2012 -0700

----------------------------------------------------------------------
 .../debian/config/opt/cloud/bin/vpc_passwd_server  |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/e44d306d/patches/systemvm/debian/config/opt/cloud/bin/vpc_passwd_server
----------------------------------------------------------------------
diff --git a/patches/systemvm/debian/config/opt/cloud/bin/vpc_passwd_server 
b/patches/systemvm/debian/config/opt/cloud/bin/vpc_passwd_server
index 2d6b4e6..e02a99c 100755
--- a/patches/systemvm/debian/config/opt/cloud/bin/vpc_passwd_server
+++ b/patches/systemvm/debian/config/opt/cloud/bin/vpc_passwd_server
@@ -4,7 +4,7 @@ ip=$1
 result=$ip
 while [ -n "$result" ]
 do
-    socat -lf /var/log/cloud.log TCP4-LISTEN:8080,reuseaddr,crnl,bind=$ip 
SYSTEM:"/opt/cloud/bin/serve_password.sh"
+    socat -lf /var/log/cloud.log TCP4-LISTEN:8080,reuseaddr,crnl,bind=$ip 
SYSTEM:"/opt/cloud/bin/serve_password.sh \"\$SOCAT_PEERADDR\""
     rc=$?
     if [ $rc -ne 0 ]
     then

Reply via email to