Rename salt minion_ip to hostname_override

Prep work for making AWS node identifier -> instance id
This commit is contained in:
Justin Santa Barbara
2015-04-21 06:23:37 -07:00
parent a3e8e80572
commit 29592356f7
4 changed files with 5 additions and 5 deletions

View File

@@ -37,7 +37,7 @@ echo "master: $KUBE_MASTER" > /etc/salt/minion.d/master.conf
#
cat <<EOF >/etc/salt/minion.d/grains.conf
grains:
minion_ip: $(ip route get 1.1.1.1 | awk '{print $7}')
hostname_override: $(ip route get 1.1.1.1 | awk '{print $7}')
roles:
- kubernetes-pool
- kubernetes-pool-vsphere