VPC : password reset fix

This commit is contained in:
Anthony Xu 2012-09-26 10:13:55 -07:00
parent 1946a9a583
commit e44d306dd9

View File

@ -4,7 +4,7 @@ ip=$1
result=$ip result=$ip
while [ -n "$result" ] while [ -n "$result" ]
do 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=$? rc=$?
if [ $rc -ne 0 ] if [ $rc -ne 0 ]
then then