added hostname state for rhel