Update correct cloud-init hosts template file on RHEL.

Change-Id: I922da49a72cd376df7f87beae6372bbdd1717fd9
This commit is contained in:
Giulio Fidente 2015-01-21 19:14:19 +01:00
parent bd878c7f2a
commit 43f85d61f0
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ if [ ! -z "$ENTRIES" ]; then
# cloud-init files are /etc/cloud/templates/hosts.OSNAME.tmpl
DIST=$(lsb_release -is | tr -s [A-Z] [a-z])
case $DIST in
fedora)
fedora|redhatenterpriseserver)
name="redhat"
;;
*)