mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
vpc_passwd_server: use the improved Python based password server
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
294503a025
commit
3262b0bfd9
@ -21,7 +21,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_PEERADDR\""
|
||||
python /opt/cloud/bin/passwd_server_ip.py $ip >/dev/null 2>/dev/null
|
||||
rc=$?
|
||||
if [ $rc -ne 0 ]
|
||||
then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user