projects
/
osm
/
devops.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Attempt to remove swap
[osm/devops.git]
/
installers
/
full_install_osm.sh
diff --git
a/installers/full_install_osm.sh
b/installers/full_install_osm.sh
index
ef3ee9c
..
213db75
100755
(executable)
--- a/
installers/full_install_osm.sh
+++ b/
installers/full_install_osm.sh
@@
-852,6
+852,7
@@
function install_kube() {
#initializes kubernetes control plane
function init_kubeadm() {
sudo swapoff -a
#initializes kubernetes control plane
function init_kubeadm() {
sudo swapoff -a
+ sudo sed -i.bak '/.*none.*swap/s/^\(.*\)$/#\1/g' /etc/fstab
sudo kubeadm init --config $1
sleep 5
}
sudo kubeadm init --config $1
sleep 5
}