← Back to team overview

curtin-dev team mailing list archive

[Merge] ~dbungert/curtin:cloud-init-gh-6124 into curtin:master

 

Dan Bungert has proposed merging ~dbungert/curtin:cloud-init-gh-6124 into curtin:master.

Commit message:
apt_config: attempt to clean cloud-init-base



Requested reviews:
  curtin developers (curtin-dev)

For more details, see:
https://code.launchpad.net/~dbungert/curtin/+git/curtin/+merge/483639

As suggested by https://github.com/canonical/cloud-init/issues/6124#issuecomment-2767192938
Assumes supplied debconf_selections are cloud-init-base aware.
-- 
Your team curtin developers is requested to review the proposed merge of ~dbungert/curtin:cloud-init-gh-6124 into curtin:master.
diff --git a/curtin/commands/apt_config.py b/curtin/commands/apt_config.py
index d38cc4c..2d024f0 100644
--- a/curtin/commands/apt_config.py
+++ b/curtin/commands/apt_config.py
@@ -1076,6 +1076,7 @@ def POPULATE_SUBCMD(parser):
 
 CONFIG_CLEANERS = {
     'cloud-init': clean_cloud_init,
+    'cloud-init-base': clean_cloud_init,
 }
 
 # vi: ts=4 expandtab syntax=python

Follow ups