Skip to content

Commit 1c9671f

Browse files
author
Bill Liang
committed
removed unnecessary command
1 parent 1b80c43 commit 1c9671f

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

samples/features/azure-arc/deployment/kubeadm/ubuntu-single-node-vm/setup-controller.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/bin/bash
22

33
# Get controller username and password as input. It is used as default for the controller.
44
#
@@ -179,8 +179,6 @@ echo "Starting to setup pre-requisites for kubernetes..."
179179

180180
# Setup the kubernetes preprequisites.
181181
#
182-
echo $(hostname -i) $(hostname) >> sudo tee -a /etc/hosts
183-
184182
sudo swapoff -a
185183
sudo sed -i '/swap/s/^\(.*\)$/#\1/g' /etc/fstab
186184

0 commit comments

Comments
 (0)