[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: manage_etc_hosts: true



On Thu, Jul 22, 2021 at 11:15:23AM +0200, Thomas Goirand wrote:
> In commit 522055bf, I added
> config_space/files/etc/cloud/cloud.cfg.d/01_debian_cloud.cfg/GENERICCLOUD
> and
> config_space/files/etc/cloud/cloud.cfg.d/01_debian_cloud.cfg/GENERIC, in
> the hope to get /etc/cloud/cloud.cfg.d/01_debian_cloud.cfg to contain
> "manage_etc_hosts: true" in our generated OpenStack images. However,
> after checking the last build, this file still doesn't exist in our
> daily image.
> 
> What am I missing?

https://salsa.debian.org/cloud-admin-team/debian-cloud-images-daily/-/issues/2

The debian-cloud-images repository, which contains the FAI config and
all the FAI wrapper code and is where you made your change, is a
submodule of couple of other repositories.  In order to change the
generated images, you need to update the submodule in the
https://salsa.debian.org/cloud-admin-team/debian-cloud-images-daily/-/tree/master
repository.

The repository structure is generally a good thing, but you're not the
first to be bitten by this.  If we can't easily automate keeping the
submodule in sync, maybe just a reminder of some sort would help us make
sure to perform the manual update.

noah


Reply to: