Monitoring: Show all Interface IP addresses

This commit is contained in:
Keith Whyte 2021-06-22 20:25:58 +02:00
parent 1ab4a0e129
commit 5ae434a933

View file

@ -5,3 +5,4 @@ if [ "$_IP" == "<%= @protokol_pub_ip %>" ] ;then
_IP=`curl -s 10.0.200.100/ip.sh` _IP=`curl -s 10.0.200.100/ip.sh`
echo $_IP >> /tmp/my_ip echo $_IP >> /tmp/my_ip
fi fi
hostname -I | tr " " "\n" >> /tmp/my_ip