Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update --help to be more Ubuntu friendly #577

Merged
merged 1 commit into from
Dec 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions elevate-cpanel
Original file line number Diff line number Diff line change
Expand Up @@ -10019,13 +10019,15 @@ package cpev;
=head1 DESCRIPTION
Wrapper around the ELevate project which is designed to enable migrations
between major versions of RHEL® derivatives.
This script provides a wrapper to enable migrations from one major OS version to another.
For RHEL® derivatives, it wraps the ELvate project, which enables 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 @@ -10038,7 +10040,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.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does this fail if on ubuntu?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it will die early with a message saying that BETA is unavailable for this leapp repo.

--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 @@ -10119,7 +10121,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.
This script provides a wrapper to enable migrations from one major OS version to another.
For RHEL® derivatives, it wraps the ELvate project, which enables 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
Loading