mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
Merge pull request #6631 from jiangyaoguo/remove-duplicate-localhost-setting
Remove duplicate localhost setting
This commit is contained in:
commit
c6d4bb373e
@ -54,8 +54,8 @@ for (( i=0; i<${#MINION_NAMES[@]}; i++)); do
|
||||
echo "Adding $minion to hosts file"
|
||||
echo "$ip $minion" >> /etc/hosts
|
||||
fi
|
||||
echo "127.0.0.1 localhost" >> /etc/hosts # enables cmds like 'kubectl get pods' on master.
|
||||
done
|
||||
echo "127.0.0.1 localhost" >> /etc/hosts # enables cmds like 'kubectl get pods' on master.
|
||||
|
||||
# Update salt configuration
|
||||
mkdir -p /etc/salt/minion.d
|
||||
|
Loading…
Reference in New Issue
Block a user