From b4c3593934c9ea169b35fdadff32ceb39b5d2de1 Mon Sep 17 00:00:00 2001 From: garciadeblas Date: Mon, 22 Jan 2024 12:56:21 +0100 Subject: [PATCH] Update iptables during osm installation only if LXD is installed Change-Id: I8ed050bf3b402d37cd9897eafc70dc0fa4298028 Signed-off-by: garciadeblas --- installers/full_install_osm.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.25.1