Return the values from the API.
[bootmanager.git] / source / BootAPI.py
index b2fddbe..7d5a5cb 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python2
+#!/usr/bin/python
 
 # Copyright (c) 2003 Intel Corporation
 # All rights reserved.
@@ -33,7 +33,7 @@ def create_auth_structure( vars, call_params ):
 
     try:
         auth['node_id'] = vars['NODE_ID']
-        auth['node_ip'] = vars['NETWORK_SETTINGS']['ip']
+        auth['node_ip'] = vars['INTERFACE_SETTINGS']['ip']
     except KeyError, e:
         return None