From 2366886fc9a5d23f5dd44202e355273cbff1c267 Mon Sep 17 00:00:00 2001 From: chenglch Date: Thu, 7 Aug 2014 05:15:51 -0400 Subject: [PATCH] ironic baremetal driver rsetboot net --- .../ironic_baremetal/ironic/drivers/modules/xcat_pxe.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-OpenStack-ironic/ironic_baremetal/ironic/drivers/modules/xcat_pxe.py b/xCAT-OpenStack-ironic/ironic_baremetal/ironic/drivers/modules/xcat_pxe.py index 37a06f4c3..4d799f555 100644 --- a/xCAT-OpenStack-ironic/ironic_baremetal/ironic/drivers/modules/xcat_pxe.py +++ b/xCAT-OpenStack-ironic/ironic_baremetal/ironic/drivers/modules/xcat_pxe.py @@ -219,7 +219,7 @@ class PXEDeploy(base.DeployInterface): self._config_host_file(d_info,task.node.instance_info.get('fixed_ip_address')) self._make_dhcp() self._nodeset_osimage(d_info,task.node.instance_info.get('image_name')) - manager_utils.node_set_boot_device(task, 'pxe', persistent=True) + manager_utils.node_set_boot_device(task, 'net', persistent=True) manager_utils.node_power_action(task, states.REBOOT) try: self._wait_for_node_deploy(task)