diff --git a/modules/rhizo_base/templates/get_ip.sh.erb b/modules/rhizo_base/templates/get_ip.sh.erb index c8a131b..955cf02 100755 --- a/modules/rhizo_base/templates/get_ip.sh.erb +++ b/modules/rhizo_base/templates/get_ip.sh.erb @@ -5,3 +5,4 @@ if [ "$_IP" == "<%= @protokol_pub_ip %>" ] ;then _IP=`curl -s 10.0.200.100/ip.sh` echo $_IP >> /tmp/my_ip fi +hostname -I | tr " " "\n" >> /tmp/my_ip