Skip to content

Commit

Permalink
Merge pull request #4999 from rwx788/iscsi_ibft
Browse files Browse the repository at this point in the history
Process existing partitions if page is shown
  • Loading branch information
okurz committed May 9, 2018
2 parents 17f55cc + ecbb253 commit 8b3f628
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions lib/partition_setup.pm
Original file line number Diff line number Diff line change
Expand Up @@ -249,14 +249,16 @@ sub take_first_disk_storage_ng {
# So making it flexible, still assert the screen if want to verify explicitly
select_first_hard_disk;

assert_screen [qw(existing-partitions partition-scheme)];
# If drive is not formatted, we have select hard disks page
# On ipmi we always have unformatted drive
if (get_var('ISO_IN_EXTERNAL_DRIVE') || check_var('BACKEND', 'ipmi')) {
assert_screen 'existing-partitions';
# Sometimes can have existing installation on iscsi
if (match_has_tag 'existing-partitions') {
send_key $cmd{next};
assert_screen 'partition-scheme';
}
assert_screen 'partition-scheme';
send_key $cmd{next};

# select btrfs file system
if (check_var('VIDEOMODE', 'text')) {
assert_screen 'select-root-filesystem';
Expand Down

0 comments on commit 8b3f628

Please sign in to comment.