Skip to content

Environment variables

Freya Gustavsson edited this page Mar 22, 2024 · 18 revisions

CONVERT2RHEL_DISABLE_TELEMETRY

Important

No longer in the codebase, instead there is information about what data collection will be saved in a file

The convert2rhel utility uploads the following data about the system conversion to Red Hat servers for the purpose of the utility usage analysis:

  • The Convert2RHEL command as executed
  • The Convert2RHEL RPM version and GPG signature
  • Success or failure status of the conversion
  • Conversion start and end timestamps
  • Source OS vendor and version
  • Target RHEL version
  • Convert2RHEL related environment variables\n To disable the data collection, use the CONVERT2RHEL_DISABLE_TELEMETRY=1 environment variable.

CONVERT2RHEL_PACKAGE_UP_TO_DATE_CHECK_SKIP

Override a failure in checking if the installed packages are up to date.

CONVERT2RHEL_OUTDATED_PACKAGE_CHECK_SKIP

Override outdated packages being found on the system.

CONVERT2RHEL_SKIP_KERNEL_CURRENCY_CHECK

Note

Renamed from CONVERT2RHEL_UNSUPPORTED_SKIP_KERNEL_CURRENCY_CHECK

Skip the check that makes sure that the latest available kernel is installed and the system is booted to it.

CONVERT2RHEL_INCOMPLETE_ROLLBACK

Note

Renamed from CONVERT2RHEL_UNSUPPORTED_INCOMPLETE_ROLLBACK

When performing the pre-conversion analysis, convert2rhel needs to remove certain packages. Before removing them though it downloads them from the repositories enabled on the system for their subsequent reinstallation at the end of the analysis or when the conversion unexpectedly stops. When unable to download the package backups the conversion execution stops because a complete rollback without the package backups. If you accept the risk, set CONVERT2RHEL_UNSUPPORTED_INCOMPLETE_ROLLBACK=1. This variable is ignored when running the analysis (convert2rhel analyze).

CONVERT2RHEL_ALLOW_UNAVAILABLE_KMODS

Convert2rhel checks if all the loaded kernel modules are available in RHEL repositories. If not, the conversion is blocked because we can't tell if the system would run correctly without the unavailable kernel module after the conversion. If you accept the risk, set CONVERT2RHEL_ALLOW_UNAVAILABLE_KMODS=1 to proceed with the conversion.

CONVERT2RHEL_ALLOW_OLDER_VERSION

Skip the check that makes sure that the convert2rhel version is of the latest version available.