diff options
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/lvm.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/lvm.pm b/perl-install/lvm.pm index 23a069565..fae0a8c6b 100644 --- a/perl-install/lvm.pm +++ b/perl-install/lvm.pm @@ -116,6 +116,7 @@ sub vg_destroy { lvm_cmd('vgchange', '-a', 'n', $lvm->{VG_name}); lvm_cmd_or_die('vgremove', $lvm->{VG_name}); foreach (@{$lvm->{disks}}) { + lvm_cmd_or_die('pvremove', devices::make($_->{device})); delete $_->{lvm}; set_isFormatted($_, 0); } |