How can we improve Azure Virtual Machines?

Allow for option to have waagent re-run custom extension code in case of machine reboot

Currently, if a custom extension is running and a VM reboots, then the extension code will automatically be re-run. If there is a code change, then the extension code will rerun. However, if the extension code is unchanged, there is a check for it and the extension scripts are not run.

However, if a customer is bootstrapping a machine or set of machines, and that host is rebooted during the process, then that bootstrap will have failed and will not be reattempted.

It would be nice to have some kind of flag or option, that would allow custom extensions to be rerun by default, even if there is no code change.

If the scripts are idempotent, it will cause the machines to be in a good state if the reboot is interrupted.

1 vote
Sign in
(thinking…)
Sign in with: Microsoft
Signed in as (Sign out)

We’ll send you updates on this idea

Aleks Shulman shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

0 comments

Sign in
(thinking…)
Sign in with: Microsoft
Signed in as (Sign out)
Submitting...

Feedback and Knowledge Base