cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jaya...@apache.org
Subject git commit: updated refs/heads/master to 8e7d8ba
Date Tue, 13 Aug 2013 07:24:16 GMT
Updated Branches:
  refs/heads/master 5b41be356 -> 8e7d8ba0b


CLOUDSTACK-4184 updated the socat in password server for handling parallel requests in parallel
vm deployments


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

Branch: refs/heads/master
Commit: 8e7d8ba0b6db4e78e6088a178d1be2b3069387f5
Parents: 5b41be3
Author: Jayapal <jayapal@apache.org>
Authored: Tue Aug 13 12:47:41 2013 +0530
Committer: Jayapal <jayapal@apache.org>
Committed: Tue Aug 13 12:52:36 2013 +0530

----------------------------------------------------------------------
 patches/systemvm/debian/config/opt/cloud/bin/passwd_server_ip  | 2 +-
 patches/systemvm/debian/config/opt/cloud/bin/serve_password.sh | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8e7d8ba0/patches/systemvm/debian/config/opt/cloud/bin/passwd_server_ip
----------------------------------------------------------------------
diff --git a/patches/systemvm/debian/config/opt/cloud/bin/passwd_server_ip b/patches/systemvm/debian/config/opt/cloud/bin/passwd_server_ip
index 8d62dff..4622860 100755
--- a/patches/systemvm/debian/config/opt/cloud/bin/passwd_server_ip
+++ b/patches/systemvm/debian/config/opt/cloud/bin/passwd_server_ip
@@ -20,7 +20,7 @@
 addr=$1;
 while [ "$ENABLED" == "1" ]
 do
-	socat -lf /var/log/cloud.log TCP4-LISTEN:8080,reuseaddr,crnl,bind=$addr SYSTEM:"/opt/cloud/bin/serve_password.sh
\"\$SOCAT_PEERADDR\""
+	socat -lf /var/log/cloud.log TCP4-LISTEN:8080,reuseaddr,fork,crnl,bind=$addr SYSTEM:"/opt/cloud/bin/serve_password.sh
\"\$SOCAT_PEERADDR\""
 
 	rc=$?
 	if [ $rc -ne 0 ]

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8e7d8ba0/patches/systemvm/debian/config/opt/cloud/bin/serve_password.sh
----------------------------------------------------------------------
diff --git a/patches/systemvm/debian/config/opt/cloud/bin/serve_password.sh b/patches/systemvm/debian/config/opt/cloud/bin/serve_password.sh
index b829b54..a3a2732 100755
--- a/patches/systemvm/debian/config/opt/cloud/bin/serve_password.sh
+++ b/patches/systemvm/debian/config/opt/cloud/bin/serve_password.sh
@@ -62,7 +62,7 @@ do
 		break
 	fi
 
-	request=$(echo $input | grep "DomU_Request:" | cut -d: -f2 | sed 's/^[ \t]*//')
+	request=$(echo "$input" | grep "DomU_Request:" | cut -d: -f2 | sed 's/^[ \t]*//')
 
 	if [ "$request" != "" ]
 	then


Mime
View raw message