Merge "agent: ensure vmlinuz file does not exist before hard-linking into it"

This commit is contained in:
Jenkins 2015-10-05 20:56:09 +00:00 committed by Gerrit Code Review
commit ea94034331

View File

@ -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