Hi there,
I appreciate this isn't a direct flaw in the elevate script, however a warning offering bail-out may be wise to those running a Linode who are seeking to elevate their machine. Linode by default enables Lassie, a reboot watchdog, for all machines.
We went ahead with clearing blockers and proceeded, however Lassie then quite effectively performed several hard reboots during critical phases of the upgrade process. This resulted in an inoperable boot environment, and a server rebuild.
Might be wise to add a warning to the elevate script, allowing Linode users to check for and disable Lassie firstly.
https://www.linode.com/docs/products/compute/compute-instances/guides/lassie-shutdown-watchdog/
Just a thought,
Luke