In order to fetch device config, ssh script need to configure Monitoring system (OpenNMS/Minion) IPAddress.
For this determination, we used following snippet.
This works fine on linux/Mac development systems.
Need to ensure if this works with Docker and any other systems that users can deploy Minion/OpenNMS
May need to configure this IP on Minion ?