Page MenuHomeSoftware Heritage

Configure cloud-init to avoid fighting with puppet changes
Open, NormalPublic


Every time virtual machines generated with cloud-init (e.g. the staging hosts) restart, cloud-init will clobber some changes made to them by puppet.

We should configure cloud init to preserve the changes made by puppet, by disabling its intervention on the following:

  • apt sources
  • /etc/hosts (?)
  • /etc/network/interfaces (?)

The relevant config is in /etc/cloud/cloud.cfg (there seems to be a drop-in directory /etc/cloud/cloud.cfg.d that we could use in each profile that touches a "conflicting" file)

Event Timeline

olasd triaged this task as Normal priority.Oct 1 2020, 2:46 PM
olasd created this task.