diff options
author | Dmitry Tantsur <dtantsur@protonmail.com> | 2022-02-10 18:11:15 +0100 |
---|---|---|
committer | Dmitry Tantsur <dtantsur@protonmail.com> | 2022-02-15 12:59:34 +0000 |
commit | 5e2919b280bb1ab3bc3f0f00555830e25b4faa68 (patch) | |
tree | 2eee7f6b8a8c5b3e85391994a94b6f01b4e604a1 /releasenotes/notes | |
parent | 8a0b6384af815ae14f74f2851690e9cfffb46414 (diff) | |
download | ironic-5e2919b280bb1ab3bc3f0f00555830e25b4faa68.tar.gz |
Set correct initrd_filename for iPXE when using Swift
iPXE derives its "file names" from the last component of the URL path.
In case of the conductor's local server it's {mode}_{component} where
mode = deploy/rescue and component = kernel/ramdisk. However, in case
of Swift/Ceph, the last component will be different. This patch accounts
for it.
Change-Id: I7ba5545032069509a9c302abe1c21537ccb5ec8a
(cherry picked from commit c975eaa8c67d917feac75c9053cddcfb708e08a3)
Diffstat (limited to 'releasenotes/notes')
-rw-r--r-- | releasenotes/notes/initrd_filename-ac68e96f1c9fb576.yaml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/releasenotes/notes/initrd_filename-ac68e96f1c9fb576.yaml b/releasenotes/notes/initrd_filename-ac68e96f1c9fb576.yaml new file mode 100644 index 000000000..b9eea262e --- /dev/null +++ b/releasenotes/notes/initrd_filename-ac68e96f1c9fb576.yaml @@ -0,0 +1,6 @@ +--- +fixes: + - | + Fixes the ``initrd`` kernel parameter when booting ramdisk directly from + Swift/RadosGW using iPXE. Previously it was always ``deploy_ramdisk``, + even when the actual file name is different. |