mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-12-18 17:18:30 +00:00
Fix custom_standard_partition_ext4_postinstall failures
Long story short: the volume order seems to have changed at some point.
This commit is contained in:
parent
c938db7b61
commit
ca1a217da6
@ -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