From: garciadeblas Date: Mon, 22 Jan 2024 11:56:21 +0000 (+0100) Subject: Update iptables during osm installation only if LXD is installed X-Git-Tag: release-v16.0-start~58 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F55%2F14155%2F1;p=osm%2Fdevops.git Update iptables during osm installation only if LXD is installed Change-Id: I8ed050bf3b402d37cd9897eafc70dc0fa4298028 Signed-off-by: garciadeblas --- diff --git a/installers/full_install_osm.sh b/installers/full_install_osm.sh index 8d56663a..21a654d2 100755 --- a/installers/full_install_osm.sh +++ b/installers/full_install_osm.sh @@ -544,7 +544,10 @@ function install_osm() { 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