Open checkflow opened 5 years ago
bump
Actually, if you need to replace public ip's with private ip's (and your private ip is on primary network interface in your nodes), you can fork the project then change following line in AzuneNode.groovy class :
this.hostname = vm.getPrimaryPublicIPAddress()?.ipAddress()
by
this.hostname = vm.primaryNetworkInterface.primaryPrivateIP()
Then build the plugin and replace the one you have on your rundeck instance, for me it works fine this way.
Hi. Same problem as for the EC2 nodes plugin here : https://github.com/rundeck-plugins/rundeck-ec2-nodes-plugin/issues/17 I can not run jobs on nodes with only private IP's, the hostname is null when no public ip provided.
How could i use private ip for hostname plugin attribute ?