Skip to content

Commit e0b99cc

Browse files
committed
Fixed command to disable swap
1 parent 528275f commit e0b99cc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

samples/features/sql-big-data-cluster/deployment/kubeadm/ubuntu/setup-k8s-prereqs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Setup the kubernetes preprequisites
44
#
55
echo $(hostname -i) $(hostname) >> /etc/hosts
6-
sudo sed -i "/ swap / s/^/#/" /etc/fstab
6+
sudo sed -i "/swap/s/^/#/" /etc/fstab
77
sudo swapoff -a
88
curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add -
99
cat <<EOF >/etc/apt/sources.list.d/kubernetes.list

0 commit comments

Comments
 (0)