Commit e597b41d authored by yaoguo's avatar yaoguo

Remove duplicate localhost setting

parent 6ef0f8c3
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment