Skip to content

Commit

Permalink
IPU: support in place upgrade from RHEL9 to RHEL10
Browse files Browse the repository at this point in the history
Signed-off-by: Miriam Deng <[email protected]>
  • Loading branch information
MiriamDeng committed Sep 24, 2024
1 parent cec3e30 commit b95a33e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
10 changes: 6 additions & 4 deletions qemu/tests/cfg/in_place_upgrade.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -48,20 +48,22 @@
# this parameter should contain your upgraded system's repo files
# <pre_upgrade_no_rhsm>, <process_upgrade_no_rhsm>
# <pre_upgrade_rhsm>, <process_upgrade_rhsm>
# these paramters are for leapp preupgrade and upgrade
# these paramters are for leapp preupgrade and upgrade command
variants:
- compose_install:
com_install = "yes"
com_ins_leapp = "yum install leapp-upgrade -y"
- stream_install:
# Please modify the build in the internal cfg
# an example
# com_ins_leapp = "yum install leapp-upgrade"
- upstream_install:
com_install = "no"
variants:
- without_rhsm_rhel8_to_rhel9:
rhsm_type = "no_rhsm"
pre_upgrade_no_rhsm = "leapp preupgrade --debug --no-rhsm"
process_upgrade_no_rhsm = "LEAPP_UNSUPPORTED=1 "
process_upgrade_no_rhsm += "LEAPP_DEVEL_SKIP_CHECK_OS_RELEASE=1 "
process_upgrade_no_rhsm += "leapp upgrade --debug --no-rhsm"
process_upgrade_no_rhsm = "leapp upgrade --debug --no-rhsm"
disable_content = 'yum-config-manager --disable "*"'
enable_content = "yum-config-manager"
enable_content += " --enable "
Expand Down
1 change: 0 additions & 1 deletion qemu/tests/in_place_upgrade.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ def run(test, params, env):
upgrade_test.create_ipuser(test)
# prepare ipu test env and execute leapp tool
if not params.get_boolean("com_install"):
upgrade_test.run_guest_cmd(params.get("repo_leapp"))
upgrade_test.run_guest_cmd(params.get("com_ins_leapp"))
upgrade_test.run_guest_cmd(params.get("prepare_env"))
upgrade_test.run_guest_cmd(params.get("get_answer_files_source"))
Expand Down

0 comments on commit b95a33e

Please sign in to comment.