Skip to content

Commit

Permalink
Format disk before installation on pvm
Browse files Browse the repository at this point in the history
  • Loading branch information
lemon-suse committed Jan 7, 2025
1 parent 250e16d commit 0446907
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions lib/bootloader_pvm.pm
Original file line number Diff line number Diff line change
Expand Up @@ -178,14 +178,17 @@ sub prepare_pvm_installation {
if (is_agama) {
record_info("Installing", "Please check the expected product is being installed");
assert_screen('agama-installer-live-root', 400);
return;
}
else {
assert_screen("run-yast-ssh", 300);
}

assert_screen("run-yast-ssh", 300);

if (!is_upgrade && !get_var('KEEP_DISKS')) {
# For Agama unattended test, in profile it will format disk by default.
if (!is_upgrade && !get_var('KEEP_DISKS') && !get_var('AGAMA_AUTO')) {
prepare_disks;
}

return if is_agama;
# Switch to installation console (ssh or vnc)
select_console('installation');
# We need to start installer only if it's pure ssh installation
Expand Down

0 comments on commit 0446907

Please sign in to comment.