Created
October 30, 2014 15:40
-
-
Save fikovnik/91ebe59d2c31c2dfa7bc to your computer and use it in GitHub Desktop.
Updated node.py:1110 file to add node_ip_address as the ip_address seams to be disappearing and it is easier to hack maasserver package (can be refreshed by apache restart)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Try to pass the IP address correspond to the mac address | |
if 'ip_address' not in power_params: | |
ip_address_list = self.ip_address_of_mac_address(power_params['mac_address']) | |
if len(ip_address_list) > 0: | |
power_params['ip_address'] = ip_address_list[0] | |
power_params['node_ip_address'] = ip_address_list[0] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment