ironic baremetal driver rsetboot net

This commit is contained in:
chenglch 2014-08-07 05:15:51 -04:00
parent fd1a6dba31
commit 2366886fc9

View File

@ -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)