Change iptables rule to allow docker and LXD can share the same host network. 00/12900/1
authorGulsum Atici <gulsum.atici@canonical.com>
Mon, 30 Jan 2023 16:11:31 +0000 (19:11 +0300)
committeraticig <gulsum.atici@canonical.com>
Mon, 30 Jan 2023 17:40:32 +0000 (18:40 +0100)
Change-Id: Ie3a79e27acb55b3aa942ddee2a81fd5ec64428e4
Signed-off-by: Gulsum Atici <gulsum.atici@canonical.com>
installers/full_install_osm.sh

index 79fb077..3160eb4 100755 (executable)
@@ -823,6 +823,9 @@ function install_osm() {
     add_local_k8scluster
     track final_ops add_local_k8scluster_ok
 
+    echo -e "Fixup firewall so docker and LXD can share the host."
+    sudo iptables -I DOCKER-USER -j ACCEPT
+
     wget -q -O- https://osm-download.etsi.org/ftp/osm-13.0-thirteen/README2.txt &> /dev/null
     track end
     sudo find /etc/osm