summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRipal Nathuji <ripal.nathuji@calxeda.com>2013-07-18 15:50:02 -0500
committerRipal Nathuji <ripal.nathuji@calxeda.com>2013-07-18 15:50:02 -0500
commitba5efd8df0d744b2cf27020d21b2219f100ccc57 (patch)
treef20cf54479222b0e0b173bbd835a11400d84546c
parent1495017aef5ff4b7a5900e78d8300a1514cad79f (diff)
downloadcxmanage-ba5efd8df0d744b2cf27020d21b2219f100ccc57.tar.gz
CXMAN-210: Persist pxe interface setting across firmware updates
-rw-r--r--cxmanage_api/node.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/cxmanage_api/node.py b/cxmanage_api/node.py
index c083ae7..be89335 100644
--- a/cxmanage_api/node.py
+++ b/cxmanage_api/node.py
@@ -720,6 +720,7 @@ class Node(object):
try:
ubootenv = self.ubootenv(open(image.filename).read())
ubootenv.set_boot_order(old_ubootenv.get_boot_order())
+ ubootenv.set_pxe_interface(old_ubootenv.get_pxe_interface())
logger.info(
"Set boot order to " + old_ubootenv.get_boot_order()