← Back to team overview

cloud-init-dev team mailing list archive

[Merge] ~smoser/cloud-init:dhclient-hook-on-azure-only into cloud-init:master

 

The proposal to merge ~smoser/cloud-init:dhclient-hook-on-azure-only into cloud-init:master has been updated.

Commit Message changed to:

dhclient-hook: only run if on azure and cloud-init is enabled.

This adds some function to the generator to maintain the presense
of a flag file '/run/cloud-init/enabled' indicating that cloud-init
is enabled.

Then, in the hook scripts, only run the cloud-init dhclient-hook
if we are on azure and cloud-init is enabled.   The test for is_azure
currently only checks to see that the board vendor is Microsoft, not
actually that we are on azure.

The value of this additional code is that then dhclient having run
does not task the system with the load of cloud-init.

For more details, see:
https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/303303
-- 
Your team cloud init development team is requested to review the proposed merge of ~smoser/cloud-init:dhclient-hook-on-azure-only into cloud-init:master.


Follow ups