Skip to content

Commit

Permalink
Use correct flag and ENV var to disable insights registration (#1089)
Browse files Browse the repository at this point in the history
Doc: Fix doc for disabling registration to RH Insights

The original document speaks about `LEAPP_NO_INSIGHTS_AUTOREGISTER` and
the  `--no-insights-autoregister` option. However the correct envar is
`LEAPP_NO_INSIGHTS_REGISTER` and the option is `--no-insights-register`
  • Loading branch information
cdwertmann authored Jul 17, 2023
1 parent 030e1fc commit f9eef56
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ def _report_registration_info(installing_client):
summary = (
"After the upgrade, this system will be automatically registered into Red Hat Insights."
"{}"
" To skip the automatic registration, use the '--no-insights-autoregister' command line option or"
" set the NO_INSIGHTS_AUTOREGISTER environment variable."
" To skip the automatic registration, use the '--no-insights-register' command line option or"
" set the LEAPP_NO_INSIGHTS_REGISTER environment variable."
).format(pkg_msg.format(INSIGHTS_CLIENT_PKG) if installing_client else "")

reporting.create_report(
Expand Down

0 comments on commit f9eef56

Please sign in to comment.