Fixed template glance hosts variable issue