X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=installers%2Ffull_install_osm.sh;h=8c651e2e803b44b60e2ef89a6635296af7a88ddf;hb=f0cb2ddc6c4e9ca6b9a2fb3b859ecea447878763;hp=79fb07724438a0a796701827c922976f8567fa78;hpb=bc0d6073931b1639a905030ad356ae340c9597f8;p=osm%2Fdevops.git diff --git a/installers/full_install_osm.sh b/installers/full_install_osm.sh index 79fb0772..8c651e2e 100755 --- a/installers/full_install_osm.sh +++ b/installers/full_install_osm.sh @@ -823,6 +823,8 @@ function install_osm() { add_local_k8scluster track final_ops add_local_k8scluster_ok + arrange_docker_default_network_policy + wget -q -O- https://osm-download.etsi.org/ftp/osm-13.0-thirteen/README2.txt &> /dev/null track end sudo find /etc/osm @@ -884,6 +886,13 @@ function install_to_openstack() { return 0 } +function arrange_docker_default_network_policy() { + echo -e "Fixing firewall so docker and LXD can share the same host without affecting each other." + sudo iptables -I DOCKER-USER -j ACCEPT + sudo iptables-save | sudo tee /etc/iptables/rules.v4 + sudo ip6tables-save | sudo tee /etc/iptables/rules.v6 +} + function install_k8s_monitoring() { [ -z "${DEBUG_INSTALL}" ] || DEBUG beginning of function # install OSM monitoring