Add $hostname.localdomain alias to /etc/hosts
[apex-tripleo-heat-templates.git] / puppet / compute-puppet.yaml
index 12e701d..af53421 100644 (file)
@@ -505,7 +505,7 @@ outputs:
       Server's IP address and hostname in the /etc/hosts format
     value:
       str_replace:
-        template: "IP HOST"
+        template: "IP HOST.localdomain HOST"
         params:
           IP: {get_attr: [NovaCompute, networks, ctlplane, 0]}
           HOST: {get_attr: [NovaCompute, name]}