From ce1b39f72ba19021d44b46932d65e8c388b58486 Mon Sep 17 00:00:00 2001 From: Miriam Deng Date: Tue, 23 Jul 2024 12:42:23 +0800 Subject: [PATCH] IPU: refine the commands when doing leapp test Refined the commands when doing in place upgrade Signed-off-by: Miriam Deng --- qemu/tests/cfg/in_place_upgrade.cfg | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/qemu/tests/cfg/in_place_upgrade.cfg b/qemu/tests/cfg/in_place_upgrade.cfg index 37cd967e97..ae6c9b4304 100644 --- a/qemu/tests/cfg/in_place_upgrade.cfg +++ b/qemu/tests/cfg/in_place_upgrade.cfg @@ -48,7 +48,7 @@ # this parameter should contain your upgraded system's repo files # , # , - # these paramters are for leapp preupgrade and upgrade command + # these paramters are for leapp preupgrade and upgrade variants: - compose_install: com_install = "yes" @@ -59,7 +59,9 @@ - without_rhsm_rhel8_to_rhel9: rhsm_type = "no_rhsm" pre_upgrade_no_rhsm = "leapp preupgrade --debug --no-rhsm" - process_upgrade_no_rhsm = "leapp upgrade --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" disable_content = 'yum-config-manager --disable "*"' enable_content = "yum-config-manager" enable_content += " --enable "