summaryrefslogtreecommitdiff
path: root/ironic/drivers/modules/elilo_efi_pxe_config.template
diff options
context:
space:
mode:
authorSirushti Murugesan <sirushti.murugesan@hp.com>2015-01-26 23:44:14 +0530
committerSirushti Murugesan <sirushti.murugesan@hp.com>2015-03-12 22:41:28 +0530
commit222c84fff52be8383b26495c37df28cc5a0f98b9 (patch)
treef56be2b60574c38d60faf44720b4e16b69182296 /ironic/drivers/modules/elilo_efi_pxe_config.template
parent01af4f8808916a3e8069398da20ece515da28fbf (diff)
downloadironic-222c84fff52be8383b26495c37df28cc5a0f98b9.tar.gz
Adds support for deploying whole disk images
Ironic decides whether it should deploy whole disk images or partition based images based on the presence of a kernel and a ramdisk. Partition based images are still deployed the way it is currently. No change made in the deployment workflow of partition based images. Whole Disk Images are dumped directly on the lun of the disk presented so that they can be localbooted. Separate PXE-Config entries have been added for whole disk images which when used to deploy whole disk images chainloads onto the hard drive that was exposed by the deploy ramdisk. Partially-Implements blueprint whole-disk-image-support Change-Id: I4478eff302a0ffeb3e9f2077a41170671863c478
Diffstat (limited to 'ironic/drivers/modules/elilo_efi_pxe_config.template')
-rw-r--r--ironic/drivers/modules/elilo_efi_pxe_config.template6
1 files changed, 5 insertions, 1 deletions
diff --git a/ironic/drivers/modules/elilo_efi_pxe_config.template b/ironic/drivers/modules/elilo_efi_pxe_config.template
index 18e46da51..71e680982 100644
--- a/ironic/drivers/modules/elilo_efi_pxe_config.template
+++ b/ironic/drivers/modules/elilo_efi_pxe_config.template
@@ -7,6 +7,10 @@ image={{pxe_options.deployment_aki_path}}
image={{pxe_options.aki_path}}
- label=boot
+ label=boot_partition
initrd={{pxe_options.ari_path}}
append="root={{ ROOT }} ro text {{ pxe_options.pxe_append_params|default("", true) }} ip=%I:{{pxe_options.tftp_server}}:%G:%M:%H::on"
+
+image=chain.c32
+ label=boot_whole_disk
+ append mbr:{{ DISK_IDENTIFIER }}