Skip to content

Remove cloud_etc_hosts module when DHCP is disabled#418

Open
Cristi1324 wants to merge 1 commit into
cloudbase:masterfrom
Cristi1324:add-disable-manage-hosts
Open

Remove cloud_etc_hosts module when DHCP is disabled#418
Cristi1324 wants to merge 1 commit into
cloudbase:masterfrom
Cristi1324:add-disable-manage-hosts

Conversation

@Cristi1324
Copy link
Copy Markdown
Contributor

No description provided.

@Cristi1324 Cristi1324 force-pushed the add-disable-manage-hosts branch 2 times, most recently from ec944cb to e0db0f7 Compare May 13, 2026 07:00
@Cristi1324 Cristi1324 force-pushed the add-disable-manage-hosts branch from e0db0f7 to 5a43f85 Compare May 13, 2026 07:01
def _reset_cloud_init_run(self):
self._exec_cmd_chroot("cloud-init clean --logs")

def _disable_cloud_manage_etc_hosts(self):
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you should also add the list of cloud modules without the update_etc_hosts into cloud_cfg_mods instead of directly modifying the main file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants