diff options
author | Sirushti Murugesan <sirushti.murugesan@hp.com> | 2015-01-26 23:44:14 +0530 |
---|---|---|
committer | Sirushti Murugesan <sirushti.murugesan@hp.com> | 2015-03-12 22:41:28 +0530 |
commit | 222c84fff52be8383b26495c37df28cc5a0f98b9 (patch) | |
tree | f56be2b60574c38d60faf44720b4e16b69182296 /ironic/drivers/modules/pxe_config.template | |
parent | 01af4f8808916a3e8069398da20ece515da28fbf (diff) | |
download | ironic-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/pxe_config.template')
-rw-r--r-- | ironic/drivers/modules/pxe_config.template | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ironic/drivers/modules/pxe_config.template b/ironic/drivers/modules/pxe_config.template index 9846374a5..d231ca80b 100644 --- a/ironic/drivers/modules/pxe_config.template +++ b/ironic/drivers/modules/pxe_config.template @@ -6,6 +6,11 @@ append initrd={{ pxe_options.deployment_ari_path }} selinux=0 disk={{ pxe_option ipappend 3 -label boot +label boot_partition kernel {{ pxe_options.aki_path }} append initrd={{ pxe_options.ari_path }} root={{ ROOT }} ro text {{ pxe_options.pxe_append_params|default("", true) }} + + +label boot_whole_disk +COM32 chain.c32 +append mbr:{{ DISK_IDENTIFIER }} |