Code Review
/
it
/
dep.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Upgrade onap to Montreal release
[it/dep.git]
/
smo-install
/
scripts
/
layer-0
/
0-setup-microk8s.sh
diff --git
a/smo-install/scripts/layer-0/0-setup-microk8s.sh
b/smo-install/scripts/layer-0/0-setup-microk8s.sh
index
d8fc65f
..
597ea20
100755
(executable)
--- a/
smo-install/scripts/layer-0/0-setup-microk8s.sh
+++ b/
smo-install/scripts/layer-0/0-setup-microk8s.sh
@@
-29,8
+29,8
@@
sudo swapoff -a
sudo sed -i '/ swap / s/^\(.*\)$/#\1/g' /etc/fstab
snap remove microk8s
snap remove kubectl
sudo sed -i '/ swap / s/^\(.*\)$/#\1/g' /etc/fstab
snap remove microk8s
snap remove kubectl
-snap install microk8s --classic --channel=1.2
2
/stable
-sudo snap install kubectl --classic --channel=1.2
2
/stable
+snap install microk8s --classic --channel=1.2
7
/stable
+sudo snap install kubectl --classic --channel=1.2
7
/stable
## Firewall
ufw allow in on cni0 && sudo ufw allow out on cni0
## Firewall
ufw allow in on cni0 && sudo ufw allow out on cni0