Add hostname option to the configuration.