Update iptables during osm installation only if LXD is installed
Change-Id: I8ed050bf3b402d37cd9897eafc70dc0fa4298028
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
diff --git a/installers/full_install_osm.sh b/installers/full_install_osm.sh
index 8d56663..21a654d 100755
--- a/installers/full_install_osm.sh
+++ b/installers/full_install_osm.sh
@@ -544,7 +544,10 @@
add_local_k8scluster
track final_ops add_local_k8scluster_ok
- arrange_docker_default_network_policy
+ # if lxd is requested, iptables firewall is updated to work with both docker and LXD
+ if [ -n "$INSTALL_LXD" ]; then
+ arrange_docker_default_network_policy
+ fi
wget -q -O- https://osm-download.etsi.org/ftp/osm-15.0-fifteen/README2.txt &> /dev/null
track end