Enable access to the Internet in case if Calico is used

Partial-Bug: #1626999
Change-Id: I360feec9cbb2b135866279b526b87349534d48fa
(cherry picked from commit 3927be4a59)
This commit is contained in:
Dmytro Dovbii 2016-09-23 13:06:55 +03:00 committed by Sergey Kraynev
parent d83b8b48c6
commit e82f8cdad8
1 changed files with 3 additions and 1 deletions

View File

@ -18,4 +18,6 @@ sed -i.bak "s/%%IP%%/$1/g" systemd/calico-node.service
cp -f systemd/calico-node.service /etc/systemd/system/
systemctl enable calico-node.service
systemctl start calico-node
systemctl start calico-node
calicoctl pool add 192.168.0.0/16 --nat-outgoing