Andres Rodriguez has proposed merging 
lp:~andreserl/maas/reset_ipmi_network_source into lp:maas.

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)

For more details, see:
https://code.launchpad.net/~andreserl/maas/reset_ipmi_network_source/+merge/137278
-- 
https://code.launchpad.net/~andreserl/maas/reset_ipmi_network_source/+merge/137278
Your team Launchpad code reviewers is requested to review the proposed merge of 
lp:~andreserl/maas/reset_ipmi_network_source into lp:maas.
=== modified file 'contrib/preseeds_v2/enlist_userdata'
--- contrib/preseeds_v2/enlist_userdata	2012-11-13 22:40:55 +0000
+++ contrib/preseeds_v2/enlist_userdata	2012-11-30 17:50:30 +0000
@@ -165,6 +165,9 @@
        IPMI_IP_ADDRESS = get_ipmi_ip_address()
        if IPMI_IP_ADDRESS == "0.0.0.0":
            # if IPMI_IP_ADDRESS is 0.0.0.0, wait 60 seconds and retry.
+           set_ipmi_network_source("Static")
+           time.sleep(2)
+           set_ipmi_network_source("Use_DHCP")
            time.sleep(60)
            IPMI_IP_ADDRESS = get_ipmi_ip_address()
 

=== modified file 'etc/maas/commissioning-user-data'
--- etc/maas/commissioning-user-data	2012-11-13 22:40:55 +0000
+++ etc/maas/commissioning-user-data	2012-11-30 17:50:30 +0000
@@ -313,6 +313,9 @@
     IPMI_IP_ADDRESS = get_ipmi_ip_address()
     if IPMI_IP_ADDRESS == "0.0.0.0":
         # if IPMI_IP_ADDRESS is 0.0.0.0, wait 60 seconds and retry.
+        set_ipmi_network_source("Static")
+        time.sleep(2)
+        set_ipmi_network_source("Use_DHCP")
         time.sleep(60)
         IPMI_IP_ADDRESS = get_ipmi_ip_address()
 

_______________________________________________
Mailing list: https://launchpad.net/~launchpad-reviewers
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~launchpad-reviewers
More help   : https://help.launchpad.net/ListHelp

Reply via email to