We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 528275f commit e0b99ccCopy full SHA for e0b99cc
1 file changed
samples/features/sql-big-data-cluster/deployment/kubeadm/ubuntu/setup-k8s-prereqs.sh
@@ -3,7 +3,7 @@
3
# Setup the kubernetes preprequisites
4
#
5
echo $(hostname -i) $(hostname) >> /etc/hosts
6
-sudo sed -i "/ swap / s/^/#/" /etc/fstab
+sudo sed -i "/swap/s/^/#/" /etc/fstab
7
sudo swapoff -a
8
curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add -
9
cat <<EOF >/etc/apt/sources.list.d/kubernetes.list
0 commit comments