Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions lib/setup-storage/Volumes.pm
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,12 @@ sub get_current_disks {
my $error =
&FAI::execute_ro_command("parted -sm $disk unit B print", \@parted_print, 0);

if ($error eq 'parted_3_2') {
# Ignore this
print "Ignoring error $error\n";
$error = '';
}

# possible problems
if (!defined($FAI::configs{"PHY_$disk"}) && $error ne "") {
warn "Could not determine size and contents of $disk, skipping\n";
Expand Down