Merge ~b1sandmann/cloud-init:fix-debian-template into cloud-init:master

Proposed by Jens Sandmann
Status: Merged
Approved by: Scott Moser
Approved revision: 3a2b706697ddc21d8ef2649f5a350da74cc920ef
Merged at revision: 777f6ca3318edd739ef351ece31de311cb96bd9a
Proposed branch: ~b1sandmann/cloud-init:fix-debian-template
Merge into: cloud-init:master
Diff against target: 21 lines (+2/-2)
1 file modified
templates/hosts.debian.tmpl (+2/-2)
Reviewer Review Type Date Requested Status
Server Team CI bot continuous-integration Approve
cloud-init Commiters Pending
Review via email: mp+325478@code.launchpad.net

Description of the change

debian: fix path comment in /etc/hosts template.

The comments in the debian template file of /etc/hosts still pointed to a
general template file instead of the debian one. Fixes bug

LP: #1606406

To post a comment you must log in.
Revision history for this message
Server Team CI bot (server-team-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
Scott Moser (smoser) wrote :

Thank you Jens,
I'll pull this shortly.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
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 @@
1## template:jinja1## template:jinja
2{#2{#
3This file (/etc/cloud/templates/hosts.tmpl) is only utilized3This file (/etc/cloud/templates/hosts.debian.tmpl) is only utilized
4if enabled in cloud-config. Specifically, in order to enable it4if enabled in cloud-config. Specifically, in order to enable it
5you need to add the following to config:5you need to add the following to config:
6 manage_etc_hosts: True6 manage_etc_hosts: True
@@ -8,7 +8,7 @@ you need to add the following to config:
8# Your system has configured 'manage_etc_hosts' as True.8# Your system has configured 'manage_etc_hosts' as True.
9# As a result, if you wish for changes to this file to persist9# As a result, if you wish for changes to this file to persist
10# then you will need to either10# then you will need to either
11# a.) make changes to the master file in /etc/cloud/templates/hosts.tmpl11# a.) make changes to the master file in /etc/cloud/templates/hosts.debian.tmpl
12# b.) change or remove the value of 'manage_etc_hosts' in12# b.) change or remove the value of 'manage_etc_hosts' in
13# /etc/cloud/cloud.cfg or cloud-config from user-data13# /etc/cloud/cloud.cfg or cloud-config from user-data
14#14#

Subscribers

People subscribed via source and target branches