wido commented on a change in pull request #2505: CLOUDSTACK-10333: Secure Live 
VM Migration for KVM
URL: https://github.com/apache/cloudstack/pull/2505#discussion_r176988178
 
 

 ##########
 File path: packaging/centos7/cloud.spec
 ##########
 @@ -437,6 +437,12 @@ if [ -f 
"%{_sysconfdir}/cloud.rpmsave/agent/agent.properties" ]; then
     mv %{_sysconfdir}/cloud.rpmsave/agent/agent.properties 
%{_sysconfdir}/cloud.rpmsave/agent/agent.properties.rpmsave
 fi
 
+# Enable TLS enabled VM migration for libvirtd
+if ! iptables-save | grep -- "-A INPUT -p tcp -m tcp --dport 16514 -j ACCEPT" 
> /dev/null; then
+    iptables -t filter -A INPUT -p tcp -m tcp --dport 16514 -j ACCEPT
+    iptables-save > /etc/iptables/rules.v4
+fi
 
 Review comment:
   And here again

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to