opennms-forge / docker-minion

🐳 Docker container running the minion service
MIT License
6 stars 5 forks source link

Fix RMI host changes to avoid conflicts with serviceUrl. #14

Closed agalue closed 5 years ago

agalue commented 5 years ago

Inside org.apache.karaf.management.cfg, only the lines that start with rmiRegistryHost and rmiServerHost should be updated, otherwise, the serviceUrl is accidentally updated leading to exceptions and undesired side effects at runtime (hence this PR).

For consistency, the same logic was applied to sshHost.