Don't rely on lsb_release for hosts template write
authorSteve Baker <sbaker@redhat.com>
Tue, 6 Dec 2016 23:06:44 +0000 (23:06 +0000)
committerSteve Baker <sbaker@redhat.com>
Thu, 8 Dec 2016 20:09:26 +0000 (20:09 +0000)
commitf592e195e2d9ec6cd57e83fe546ae80d9b9ac09b
treeff8a2283a932edec1301ae9a8733f6a763ebd4b5
parentbb73874310ce7a7a2a7da6a848dbd60e4e0aff12
Don't rely on lsb_release for hosts template write

This is problematic for the containerised heat-agents, lsb_release has
to be bind-mounted in, and atomic host doesn't even have lsb_release
installed.

Instead just write to every /etc/cloud/templates/hosts.*.tmpl file.

Change-Id: If2aab7e9b1e03aa657baf1c33aa4392ef7044075
scripts/hosts-config.sh