mirror of https://github.com/apache/cloudstack.git
bug 14558: Add log for passwd_server
In case something goes wrong. Log located at /var/log/cloud.log
This commit is contained in:
parent
30dbea1ff7
commit
be5b430a96
|
|
@ -5,7 +5,7 @@ guestIp=$(ifconfig eth0 | grep 'inet addr:' | cut -d: -f2 | awk '{ print $1}')
|
|||
|
||||
while [ "$ENABLED" == "1" ]
|
||||
do
|
||||
socat TCP4-LISTEN:8080,reuseaddr,crnl,bind=$guestIp SYSTEM:"/opt/cloud/bin/serve_password.sh \"\$SOCAT_PEERADDR\""
|
||||
socat -lf /var/log/cloud.log TCP4-LISTEN:8080,reuseaddr,crnl,bind=$guestIp SYSTEM:"/opt/cloud/bin/serve_password.sh \"\$SOCAT_PEERADDR\""
|
||||
|
||||
rc=$?
|
||||
if [ $rc -ne 0 ]
|
||||
|
|
|
|||
Loading…
Reference in New Issue