From 777f6ca3318edd739ef351ece31de311cb96bd9a Mon Sep 17 00:00:00 2001 From: Jens Sandmann Date: Mon, 12 Jun 2017 11:49:56 +0200 Subject: 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. LP: #1606406 --- templates/hosts.debian.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/hosts.debian.tmpl b/templates/hosts.debian.tmpl index a1d97212..7e29907a 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 # -- cgit v1.2.3