← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1999781] [NEW] How is the cloud_init_modules stage executed?

 

Public bug reported:

Sorry, I've been looking at the code and documentation of cloud-init recently and have a question:
How is the cloud_init_modules stage executed?

Which command does it correspond to? "cloud-init modules --mode init" or
"cloud-init init".

Also, are there any modules must be defined at a certain stage(cloud_init_modules, cloud_config_modules, and cloud_final_modules)? eg.
"ca-certs" modules in cloud_init_modules stages:
https://github.com/canonical/cloud-init/blob/main/config/cloud.cfg.tmpl#L107

Can we put it in cloud_config_modules or even cloud_final_modules? If
so, what's the impact? If not, why? I did not find instructions for this
in the documentation.

** Affects: cloud-init
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1999781

Title:
  How is the cloud_init_modules stage executed?

Status in cloud-init:
  New

Bug description:
  Sorry, I've been looking at the code and documentation of cloud-init recently and have a question:
  How is the cloud_init_modules stage executed?

  Which command does it correspond to? "cloud-init modules --mode init"
  or "cloud-init init".

  Also, are there any modules must be defined at a certain stage(cloud_init_modules, cloud_config_modules, and cloud_final_modules)? eg.
  "ca-certs" modules in cloud_init_modules stages:
  https://github.com/canonical/cloud-init/blob/main/config/cloud.cfg.tmpl#L107

  Can we put it in cloud_config_modules or even cloud_final_modules? If
  so, what's the impact? If not, why? I did not find instructions for
  this in the documentation.

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1999781/+subscriptions



Follow ups