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:
parent
ec93130a30
commit
485fc68a98
3 changed files with 5 additions and 0 deletions
|
|
@ -122,6 +122,7 @@ sudo scp "${SSH_OPTIONS[@]}" -q -i "${SSH_KEY}" /usr/share/tests/osbuild-compose
|
|||
set +e
|
||||
sudo ssh "${SSH_OPTIONS[@]}" -q -i "${SSH_KEY}" root@"$INSTANCE_ADDRESS" 'source /root/upgrade_prepare.sh'
|
||||
sudo scp "${SSH_OPTIONS[@]}" -q -i "${SSH_KEY}" root@"$INSTANCE_ADDRESS":/var/log/leapp/leapp-preupgrade.log .
|
||||
sudo scp "${SSH_OPTIONS[@]}" -q -i "${SSH_KEY}" root@"$INSTANCE_ADDRESS":/var/log/leapp/leapp-upgrade.log .
|
||||
sudo scp "${SSH_OPTIONS[@]}" -q -i "${SSH_KEY}" root@"$INSTANCE_ADDRESS":/var/log/leapp/leapp-report.txt .
|
||||
set -e
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue