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/e0a22d4f Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/e0a22d4f Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/e0a22d4f Branch: refs/heads/4.0 Commit: e0a22d4fee5f356746f2d0f88990a2e4c6f04e5f Parents: 28b13ea Author: Anthony Xu <[email protected]> Authored: Wed Sep 26 10:13:55 2012 -0700 Committer: Edison Su <[email protected]> Committed: Wed Sep 26 21:56:45 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/e0a22d4f/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
