diff options
Diffstat (limited to 'net/cloud-init/files/patch-cloudinit_settings.py')
-rw-r--r-- | net/cloud-init/files/patch-cloudinit_settings.py | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/net/cloud-init/files/patch-cloudinit_settings.py b/net/cloud-init/files/patch-cloudinit_settings.py index d7ca2bd87f2c..a2aded75780a 100644 --- a/net/cloud-init/files/patch-cloudinit_settings.py +++ b/net/cloud-init/files/patch-cloudinit_settings.py @@ -1,19 +1,27 @@ ---- cloudinit/settings.py.orig 2021-03-17 15:43:42 UTC +--- cloudinit/settings.py.orig 2025-08-12 19:00:58 UTC +++ cloudinit/settings.py -@@ -12,7 +12,7 @@ +@@ -12,11 +12,11 @@ CFG_ENV_NAME = "CLOUD_CFG" CFG_ENV_NAME = "CLOUD_CFG" # This is expected to be a yaml formatted file -CLOUD_CONFIG = "/etc/cloud/cloud.cfg" +CLOUD_CONFIG = "%%PREFIX%%/etc/cloud/cloud.cfg" - RUN_CLOUD_CONFIG = "/run/cloud-init/cloud.cfg" +-CLEAN_RUNPARTS_DIR = "/etc/cloud/clean.d" ++CLEAN_RUNPARTS_DIR = "%%PREFIX%%/etc/cloud/clean.d" -@@ -50,7 +50,7 @@ CFG_BUILTIN = { +-DEFAULT_RUN_DIR = "/run/cloud-init" ++DEFAULT_RUN_DIR = "/var/run/cloud-init" + + # What u get if no config is provided + CFG_BUILTIN = { +@@ -60,8 +60,8 @@ CFG_BUILTIN = { "system_info": { "paths": { "cloud_dir": "/var/lib/cloud", +- "docs_dir": "/usr/share/doc/cloud-init/", - "templates_dir": "/etc/cloud/templates/", ++ "docs_dir": "%%PREFIX%%/share/doc/cloud-init/", + "templates_dir": "%%PREFIX%%/etc/cloud/templates/", }, "distro": "ubuntu", |