Content on /etc/cloud/templates/hosts.tmpl can be potentially dangerous

Bug #766547 reported by Marc Cluet
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-init
Invalid
Undecided
Unassigned

Bug Description

The file /etc/cloud/templates/hosts.tmpl provided by cloud-init defines the default IP for $hostname as 127.0.1.1 instead of 127.0.0.1 which can result in undesired results if activated

## The value '$hostname' will be replaced with the local-hostname
127.0.1.1 $hostname

Marc Cluet (lynxman)
Changed in cloud-init:
status: New → Invalid
Revision history for this message
James Falcon (falcojr) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.