tests/upgrade: add user choice for vdo devices check

This is a user choice that has to be picked before the upgrade or it
acts as an inhibitor.
This commit is contained in:
Jakub Rusz 2022-03-04 13:46:43 +01:00 committed by Ondřej Budai
parent ec93130a30
commit 485fc68a98
3 changed files with 5 additions and 0 deletions

View file

@ -35,6 +35,9 @@ EOF
# AllowZoneDrifting is disabled in RHEL-9, see rhbz#2054271 for more details
sed -i "s/^AllowZoneDrifting=.*/AllowZoneDrifting=no/" /etc/firewalld/firewalld.conf
# This user choice has to be made or else it inhibits the upgrade
leapp answer --add --section check_vdo.no_vdo_devices=True
# check upgrade
leapp preupgrade --debug --no-rhsm