diff options
author | Giulio Fidente <gfidente@redhat.com> | 2015-06-15 18:26:03 +0200 |
---|---|---|
committer | Giulio Fidente <gfidente@redhat.com> | 2015-06-15 18:26:03 +0200 |
commit | 1a04849fe81d671843e53a231211e2f773a275ae (patch) | |
tree | b6489b740c5579e5bd5a3d53c321684cfbae8c7b /puppet/compute-puppet.yaml | |
parent | 5033fd06894c3ac9ff99a82cb74020868da42306 (diff) |
Add $hostname.localdomain alias to /etc/hosts
We want to make sure to be able to resolve the default domain
suffix (.localdomain) appended when no domain option is passed by
the dhcp server.
Change-Id: I33111e91b502f57da442e5745de2217bd6d2d882
Diffstat (limited to 'puppet/compute-puppet.yaml')
-rw-r--r-- | puppet/compute-puppet.yaml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/puppet/compute-puppet.yaml b/puppet/compute-puppet.yaml index 12e701dd..af53421b 100644 --- a/puppet/compute-puppet.yaml +++ b/puppet/compute-puppet.yaml @@ -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]} |