Commit abee44d7 authored by Boxiang Sun's avatar Boxiang Sun

kvm: check who is using the external port(22, 80, 443)

parent 997efa12
...@@ -19,7 +19,7 @@ md5sum = abd8493f35e153a5984ed22c8fe49792 ...@@ -19,7 +19,7 @@ md5sum = abd8493f35e153a5984ed22c8fe49792
[template-kvm] [template-kvm]
filename = instance-kvm.cfg.jinja2 filename = instance-kvm.cfg.jinja2
md5sum = 2b66607d372ac1bda66a686491dde4d0 md5sum = fb31648974f531e0196a705d4ffbd125
[template-kvm-cluster] [template-kvm-cluster]
filename = instance-kvm-cluster.cfg.jinja2.in filename = instance-kvm-cluster.cfg.jinja2.in
......
...@@ -518,7 +518,7 @@ recipe = slapos.cookbook:wrapper ...@@ -518,7 +518,7 @@ recipe = slapos.cookbook:wrapper
ipv4 = ${slap-network-information:local-ipv4} ipv4 = ${slap-network-information:local-ipv4}
ipv6 = ${slap-network-information:global-ipv6} ipv6 = ${slap-network-information:global-ipv6}
wrapper-path = ${directory:services}/6tunnel-${:ipv6-port} wrapper-path = ${directory:services}/6tunnel-${:ipv6-port}
command-line = {{ sixtunnel_executable_location }} -6 -4 -d -l ${:ipv6} ${:ipv6-port} ${:ipv4} ${:ipv4-port} command-line = lsof -i :${:ipv6-port} ; {{ sixtunnel_executable_location }} -6 -4 -d -l ${:ipv6} ${:ipv6-port} ${:ipv4} ${:ipv4-port}
hash-existing-files = ${buildout:directory}/software_release/buildout.cfg hash-existing-files = ${buildout:directory}/software_release/buildout.cfg
{% if use_nat and nat_rule_list -%} {% if use_nat and nat_rule_list -%}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment