diff options
Diffstat (limited to 'perl-install/raid.pm')
-rw-r--r-- | perl-install/raid.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/raid.pm b/perl-install/raid.pm index 492225ceb..048de72f1 100644 --- a/perl-install/raid.pm +++ b/perl-install/raid.pm @@ -158,6 +158,8 @@ sub prepare_prefixed { my ($raids, $prefix) = @_; $raids or return; + &write($raids, "/etc/raidtab") if ! -e "/etc/raidtab"; + eval { cp_af("/etc/raidtab", "$prefix/etc/raidtab") }; foreach (grep { $_ } @$raids) { devices::make("$prefix/dev/$_->{device}") foreach @{$_->{disks}}; |