summaryrefslogtreecommitdiff
path: root/ironic/drivers/modules/irmc/boot.py
diff options
context:
space:
mode:
authorIlya Etingof <etingof@gmail.com>2018-11-26 19:48:07 +0100
committerIlya Etingof <etingof@gmail.com>2019-01-23 09:46:01 +0100
commit738d4eafdc371220b59a48cab9b981e7c3da86cf (patch)
tree67bd4decd4a66421e1bb8b0b3c4276f05772b064 /ironic/drivers/modules/irmc/boot.py
parent53823d7f9376cedb9fe794bc46aa69275157448a (diff)
downloadironic-738d4eafdc371220b59a48cab9b981e7c3da86cf.tar.gz
Build ISO out of EFI system partition image
When ironic builds UEFI-bootable ISO image, it extracts EFI system partition image (`efiboot.img`) from the `deploy_iso` ISO image. This change allows supplying EFI system partition image to the ISO image building routines in form of a local file or UUID or URI reference. The motivation behind this change is to make UEFI-bootable image building process more efficient and functional. This change is thought of as a prerequisite for the upcoming Redfish-based virtual media boot feature. Story: 1526753 Task: 28098 Change-Id: Idf912ff2146434b666fdb4250dc1ecad39bc5a04
Diffstat (limited to 'ironic/drivers/modules/irmc/boot.py')
-rw-r--r--ironic/drivers/modules/irmc/boot.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/ironic/drivers/modules/irmc/boot.py b/ironic/drivers/modules/irmc/boot.py
index 4acfa0601..677f56048 100644
--- a/ironic/drivers/modules/irmc/boot.py
+++ b/ironic/drivers/modules/irmc/boot.py
@@ -314,8 +314,10 @@ def _prepare_boot_iso(task, root_uuid):
images.create_boot_iso(task.context, boot_iso_fullpathname,
kernel_href, ramdisk_href,
- deploy_iso_href, root_uuid,
- kernel_params, boot_mode)
+ deploy_iso_href=deploy_iso_href,
+ root_uuid=root_uuid,
+ kernel_params=kernel_params,
+ boot_mode=boot_mode)
driver_internal_info['irmc_boot_iso'] = boot_iso_filename