mirror of
https://github.com/Microsoft/sql-server-samples.git
synced 2025-12-08 14:58:54 +00:00
Removed sudo from SH script. Added to instructions.
This commit is contained in:
+2
-3
@@ -2,10 +2,9 @@
|
||||
|
||||
# Setup the kubernetes preprequisites
|
||||
#
|
||||
sudo -i
|
||||
echo $(hostname -i) $(hostname) >> /etc/hosts
|
||||
sed -i "/ swap / s/^/#/" /etc/fstab
|
||||
swapoff -a
|
||||
sudo sed -i "/ swap / s/^/#/" /etc/fstab
|
||||
sudo swapoff -a
|
||||
curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add -
|
||||
cat <<EOF >/etc/apt/sources.list.d/kubernetes.list
|
||||
deb http://apt.kubernetes.io/ kubernetes-xenial main
|
||||
|
||||
Reference in New Issue
Block a user