summaryrefslogtreecommitdiffstats
path: root/perl-install/lvm.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/lvm.pm')
-rw-r--r--perl-install/lvm.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/lvm.pm b/perl-install/lvm.pm
index 68e8f6e2f..f4a94179c 100644
--- a/perl-install/lvm.pm
+++ b/perl-install/lvm.pm
@@ -32,6 +32,7 @@ init();
sub init() {
eval { modules::load('dm-mod') };
+ devices::make('urandom');
run_program::run('lvm2', 'vgscan') if !-e '/etc/lvmtab';
run_program::run('lvm2', 'vgchange', '-a', 'y');
}