summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/hosts.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/hosts.tmpl b/templates/hosts.tmpl
index 36db43b5..ae120b02 100644
--- a/templates/hosts.tmpl
+++ b/templates/hosts.tmpl
@@ -13,7 +13,7 @@
# /etc/cloud/cloud.cfg or cloud-config from user-data
#
## The value '$hostname' will be replaced with the local-hostname
-127.0.1.1 $hostname
+127.0.1.1 $fqdn $hostname
127.0.0.1 localhost
# The following lines are desirable for IPv6 capable hosts