cloud-init-dev team mailing list archive
-
cloud-init-dev team
-
Mailing list archive
-
Message #02650
[Merge] ~b1sandmann/cloud-init:fix-debian-template into cloud-init:master
Jens Sandmann has proposed merging ~b1sandmann/cloud-init:fix-debian-template into cloud-init:master.
Requested reviews:
cloud-init commiters (cloud-init-dev)
For more details, see:
https://code.launchpad.net/~b1sandmann/cloud-init/+git/cloud-init/+merge/325478
The comments in the debian template file of /etc/hosts still pointed to a general template file instead of the debian one. Fixex bug 1606406
--
Your team cloud-init commiters is requested to review the proposed merge of ~b1sandmann/cloud-init:fix-debian-template into cloud-init:master.
diff --git a/templates/hosts.debian.tmpl b/templates/hosts.debian.tmpl
index a1d9721..7e29907 100644
--- a/templates/hosts.debian.tmpl
+++ b/templates/hosts.debian.tmpl
@@ -1,6 +1,6 @@
## template:jinja
{#
-This file (/etc/cloud/templates/hosts.tmpl) is only utilized
+This file (/etc/cloud/templates/hosts.debian.tmpl) is only utilized
if enabled in cloud-config. Specifically, in order to enable it
you need to add the following to config:
manage_etc_hosts: True
@@ -8,7 +8,7 @@ you need to add the following to config:
# Your system has configured 'manage_etc_hosts' as True.
# As a result, if you wish for changes to this file to persist
# then you will need to either
-# a.) make changes to the master file in /etc/cloud/templates/hosts.tmpl
+# a.) make changes to the master file in /etc/cloud/templates/hosts.debian.tmpl
# b.) change or remove the value of 'manage_etc_hosts' in
# /etc/cloud/cloud.cfg or cloud-config from user-data
#
Follow ups