Skip to content

Commit

Permalink
Drop --target-version for upgrade (theforeman#3262)
Browse files Browse the repository at this point in the history
  • Loading branch information
ehelms authored Sep 9, 2024
1 parent fcb13f4 commit 3d86def
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ These changes are applied to the `/etc/foreman-maintain/foreman-maintain-hammer.
+
[options="nowrap" subs="attributes"]
----
# {foreman-maintain} upgrade check --target-version {ProjectVersion}
# {foreman-maintain} upgrade check
----
+
Review the results and address any highlighted error conditions before performing the upgrade.
Expand All @@ -66,7 +66,7 @@ If you lose connection to the command shell where the upgrade command is running
+
[options="nowrap" subs="attributes"]
----
# {foreman-maintain} upgrade run --target-version {ProjectVersion}
# {foreman-maintain} upgrade run
----
endif::[]
ifdef::katello[]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,17 +156,15 @@ These changes are applied to the `/etc/foreman-maintain/foreman-maintain-hammer.
+
[options="nowrap" subs="attributes"]
----
# {foreman-maintain} upgrade check --target-version {ProjectVersion} \
--whitelist="repositories-validate,repositories-setup"
# {foreman-maintain} upgrade check --whitelist="repositories-validate,repositories-setup"
----
+
Review the results and address any highlighted error conditions before performing the upgrade.
. Perform the upgrade:
+
[options="nowrap" subs="attributes"]
----
# {foreman-maintain} upgrade run --target-version {ProjectVersion} \
--whitelist="repositories-validate,repositories-setup"
# {foreman-maintain} upgrade run --whitelist="repositories-validate,repositories-setup"
----
+
If the script fails due to missing or outdated packages, you must download and install these separately.
Expand Down
4 changes: 2 additions & 2 deletions guides/common/modules/proc_upgrading-smartproxy-server.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ Ensure {SmartProxy} has access to `{RepoRHEL8ServerSatelliteMaintenanceProjectVe
+
[options="nowrap" subs="attributes"]
----
# {foreman-maintain} upgrade check --target-version {ProjectVersion}
# {foreman-maintain} upgrade check
----
+
Review the results and address any highlighted error conditions before performing the upgrade.
Expand All @@ -144,7 +144,7 @@ Review the results and address any highlighted error conditions before performin
+
[options="nowrap" subs="attributes"]
----
# {foreman-maintain} upgrade run --target-version {ProjectVersion}
# {foreman-maintain} upgrade run
----
+
endif::[]
Expand Down

0 comments on commit 3d86def

Please sign in to comment.