mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 13:37:30 +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 "Adding $minion to hosts file"
|
||||||
echo "$ip $minion" >> /etc/hosts
|
echo "$ip $minion" >> /etc/hosts
|
||||||
fi
|
fi
|
||||||
echo "127.0.0.1 localhost" >> /etc/hosts # enables cmds like 'kubectl get pods' on master.
|
|
||||||
done
|
done
|
||||||
|
echo "127.0.0.1 localhost" >> /etc/hosts # enables cmds like 'kubectl get pods' on master.
|
||||||
|
|
||||||
# Update salt configuration
|
# Update salt configuration
|
||||||
mkdir -p /etc/salt/minion.d
|
mkdir -p /etc/salt/minion.d
|
||||||
|
Loading…
Reference in New Issue
Block a user