From 1414d20852f9df190189152dd73d81e5980ed839 Mon Sep 17 00:00:00 2001 From: Frank Maximus Date: Thu, 3 Aug 2017 22:38:25 +0200 Subject: [PATCH] CLOUDSTACK-9749: Disable password service on ilb systemvm (#1912) Fix cloud-password-srvr correctly. Made sure it runs on VPC VR, but not on Internal LB --- systemvm/patches/debian/config/etc/init.d/cloud-early-config | 1 + systemvm/patches/debian/config/opt/cloud/bin/passwd_server_ip | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/systemvm/patches/debian/config/etc/init.d/cloud-early-config b/systemvm/patches/debian/config/etc/init.d/cloud-early-config index ac54ebfd1fb..3bdebdbb798 100755 --- a/systemvm/patches/debian/config/etc/init.d/cloud-early-config +++ b/systemvm/patches/debian/config/etc/init.d/cloud-early-config @@ -1032,6 +1032,7 @@ EOF enable_irqbalance 1 enable_vpc_rpsrfs 1 enable_svc cloud 0 + enable_svc cloud-passwd-srvr 1 disable_rpfilter enable_fwding 1 cp /etc/iptables/iptables-vpcrouter /etc/iptables/rules.v4 diff --git a/systemvm/patches/debian/config/opt/cloud/bin/passwd_server_ip b/systemvm/patches/debian/config/opt/cloud/bin/passwd_server_ip index a408a1e5bee..5e15a19ad82 100755 --- a/systemvm/patches/debian/config/opt/cloud/bin/passwd_server_ip +++ b/systemvm/patches/debian/config/opt/cloud/bin/passwd_server_ip @@ -18,7 +18,6 @@ . /etc/default/cloud-passwd-srvr addr=$1; -ENABLED=1 while [ "$ENABLED" == "1" ] do python /opt/cloud/bin/passwd_server_ip.py $addr >/dev/null 2>/dev/null