os-autoinst-distri-rocky-mi.../tests/disk_guided_encrypted_postinstall.pm

23 lines
393 B
Perl
Raw Permalink Normal View History

use base "installedtest";
2015-02-04 16:16:21 +00:00
use strict;
use testapi;
use utils;
2015-02-04 16:16:21 +00:00
sub run {
my $self = shift;
my $wait_time = 300;
# if we're running an upgrade, we must wait for the entire upgrade
# process to run
$wait_time = 6000 if (get_var("UPGRADE"));
# decrypt disks during boot
boot_decrypt($wait_time);
2015-02-04 16:16:21 +00:00
}
sub test_flags {
return {fatal => 1};
2015-02-04 16:16:21 +00:00
}
1;
# vim: set sw=4 et: