hoeghh / kubernetes_the_easy_way

Automating Kubernetes the hard way with Vagrant and scripts
MIT License
20 stars 11 forks source link

Internal_ip i etcd should be based host file #5

Closed hoeghh closed 6 years ago

hoeghh commented 6 years ago

The var internal_ip in the install-etcd.sh is based on a grep on ifconfig. This is risky. The info is already in the generated host file. Grep ip from hosts via $(hostname).