Changed hostname to nodename to use localhost.localdomain instead of localhost