mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-11-17 10:41:27 +00:00
Merge pull request #143 from akatch/custom_standard_partition_ext4_postinstall_fails
Fix custom_standard_partition_ext4_postinstall failures
This commit is contained in:
commit
20ef9e9467
@ -11,13 +11,13 @@ sub run {
|
|||||||
assert_screen "root_console";
|
assert_screen "root_console";
|
||||||
my $count = 4;
|
my $count = 4;
|
||||||
my $devroot = 'vda1';
|
my $devroot = 'vda1';
|
||||||
my $devboot = 'vda2';
|
my $devswap = 'vda2';
|
||||||
my $devswap = 'vda3';
|
my $devboot = 'vda3';
|
||||||
if (get_var('OFW') || get_var('UEFI')) {
|
if (get_var('OFW') || get_var('UEFI')) {
|
||||||
$count = 5; # extra boot partition (PreP or ESP)
|
$count = 5; # extra boot partition (PreP or ESP)
|
||||||
$devroot = 'vda2';
|
$devroot = 'vda2';
|
||||||
$devboot = 'vda3';
|
$devswap = 'vda3';
|
||||||
$devswap = 'vda4';
|
$devboot = 'vda4';
|
||||||
}
|
}
|
||||||
# check number of partitions
|
# check number of partitions
|
||||||
script_run 'fdisk -l | grep /dev/vda'; # debug
|
script_run 'fdisk -l | grep /dev/vda'; # debug
|
||||||
|
Loading…
Reference in New Issue
Block a user