diff options
author | Arne Wiebalck <Arne.Wiebalck@cern.ch> | 2020-04-06 17:23:09 +0200 |
---|---|---|
committer | Arne Wiebalck <Arne.Wiebalck@cern.ch> | 2020-04-06 18:03:25 +0200 |
commit | 66c32784afb505fe6c5f5b8824f92fba7b905b52 (patch) | |
tree | 779a2af590c956b91c55a878d224a1b3c0fffd4c /ironic_python_agent/hardware.py | |
parent | 3da356de257e10ddbad1f84054d1d2357d152941 (diff) | |
download | ironic-python-agent-66c32784afb505fe6c5f5b8824f92fba7b905b52.tar.gz |
Editing follow-up for UEFI Software RAID support
This is a follow-up to https://review.opendev.org/#/c/696156/
Change-Id: I0fd2c09045ff07a57374934c35d4a3a8467f5e99
Story: #2006379
Task: #37635
Diffstat (limited to 'ironic_python_agent/hardware.py')
-rw-r--r-- | ironic_python_agent/hardware.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/ironic_python_agent/hardware.py b/ironic_python_agent/hardware.py index e6bc494f..86de2cf9 100644 --- a/ironic_python_agent/hardware.py +++ b/ironic_python_agent/hardware.py @@ -1570,10 +1570,11 @@ class GenericHardwareManager(HardwareManager): # 1. Create boot partitions in prevision # 2. Just leave space # 3. Do nothing: rely on the caller to specify target_raid_config - # correctly according to what they intend to do (eg not set MAX if - # they know they will need some space for bios boot or efi parts. - # (Best option imo, if we accept that the target volume granularity - # is GiB, so you lose up to 1GiB just for a bios boot partition...) + # correctly according to what they intend to do (e.g. not set MAX + # if they know they will need some space for bios boot or efi + # parts). Best option imo, if we accept that the target volume + # granularity is GiB, so you lose up to 1GiB just for a bios boot + # partition... if target_boot_mode == 'uefi': # Leave 129MiB - start_sector s for the esp (approx 128MiB) # NOTE: any image efi partition is expected to be less |