diff --git a/elements/ironic-agent/cleanup.d/99-ramdisk-create b/elements/ironic-agent/cleanup.d/99-ramdisk-create index ae83338c..2b7df9a6 100755 --- a/elements/ironic-agent/cleanup.d/99-ramdisk-create +++ b/elements/ironic-agent/cleanup.d/99-ramdisk-create @@ -30,4 +30,5 @@ sudo cp $BOOTDIR/$KERNEL ${IMAGE_PATH}.kernel # it backward compatible. Remove it after it has been consistent and # documented in both places for at least one full OpenStack release cycle echo "WARNING: The kernel extension .vmlinuz has been deprecated. Please rely on the file with the extension .kernel instead." +sudo rm -f ${IMAGE_PATH}.vmlinuz sudo ln ${IMAGE_PATH}.kernel ${IMAGE_PATH}.vmlinuz