Skip to content

Commit

Permalink
Update --help to be more Ubuntu friendly
Browse files Browse the repository at this point in the history
Case RE-800: There was some language output by --help that
is CentOS specific. Update to make the help text inclusive
of Ubuntu.

Changelog: Update --help to be more Ubuntu friendly
  • Loading branch information
Tim Mullin committed Dec 9, 2024
1 parent d2c0421 commit a99c42c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
10 changes: 6 additions & 4 deletions elevate-cpanel
Original file line number Diff line number Diff line change
Expand Up @@ -9866,13 +9866,15 @@ package cpev;
=head1 DESCRIPTION
Wrapper around the ELevate project which is designed to enable migrations
between major versions of RHEL® derivatives.
For RHEL® derivatives it wraps the ELevate project which is designed to enable migrations
between major versions.
For Ubuntu it wraps the do-release-upgrade utility which handles major version upgrades.
Currently supported upgrade paths:
CentOS 7 => AlmaLinux 8
CloudLinux 7 => CloudLinux 8
Ubuntu 20 => Ubuntu 22
=head1 SYNOPSIS
Expand All @@ -9885,7 +9887,7 @@ CloudLinux 7 => CloudLinux 8
--log Show the current elevation log.
--status Check the current elevation status.
--clean Cleanup scripts and files created by elevate-cpanel.
--leappbeta Use the special beta repo from leapp. Do this only if instructed to by cPanel.
--leappbeta Use the special beta repo from leapp (RHEL® derivatives only). Do this only if instructed to by cPanel.
--non-interactive Skip the yes/no prompt before proceeding with the upgrade.
--update Instruct the script to replace itself on disk with a downloaded copy of the latest version.
Expand Down Expand Up @@ -9966,7 +9968,7 @@ the update process by running:
=head3 Using an alternative tool to upgrade your distro
By default, the elevate script runs the L<leapp process|https://almalinux.org/elevate/>
On CentOS, the elevate script runs the L<leapp process|https://almalinux.org/elevate/>
to upgrade you from 7 to 8. `Leapp` may not be compatible with your system.
Using the `--upgrade-distro-manually` option gives you a way to do the actual distro upgrade in your own way.
Expand Down
10 changes: 6 additions & 4 deletions script/elevate-cpanel.PL
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,15 @@ package cpev;
=head1 DESCRIPTION
Wrapper around the ELevate project which is designed to enable migrations
between major versions of RHEL® derivatives.
For RHEL® derivatives it wraps the ELevate project which is designed to enable migrations
between major versions.
For Ubuntu it wraps the do-release-upgrade utility which handles major version upgrades.
Currently supported upgrade paths:
CentOS 7 => AlmaLinux 8
CloudLinux 7 => CloudLinux 8
Ubuntu 20 => Ubuntu 22
=head1 SYNOPSIS
Expand All @@ -54,7 +56,7 @@ CloudLinux 7 => CloudLinux 8
--log Show the current elevation log.
--status Check the current elevation status.
--clean Cleanup scripts and files created by elevate-cpanel.
--leappbeta Use the special beta repo from leapp. Do this only if instructed to by cPanel.
--leappbeta Use the special beta repo from leapp (RHEL® derivatives only). Do this only if instructed to by cPanel.
--non-interactive Skip the yes/no prompt before proceeding with the upgrade.
--update Instruct the script to replace itself on disk with a downloaded copy of the latest version.
Expand Down Expand Up @@ -135,7 +137,7 @@ the update process by running:
=head3 Using an alternative tool to upgrade your distro
By default, the elevate script runs the L<leapp process|https://almalinux.org/elevate/>
On CentOS, the elevate script runs the L<leapp process|https://almalinux.org/elevate/>
to upgrade you from 7 to 8. `Leapp` may not be compatible with your system.
Using the `--upgrade-distro-manually` option gives you a way to do the actual distro upgrade in your own way.
Expand Down

0 comments on commit a99c42c

Please sign in to comment.