mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-12-22 10:48:30 +00:00
grub2-install parm set to /dev/vda1 for PowerPC
Signed-off-by: Michel Normand <normand@linux.vnet.ibm.com>
This commit is contained in:
parent
58d6dbb5e6
commit
ff3768b1d0
@ -17,7 +17,8 @@ sub run {
|
||||
# in openQA: x86_64, ppc64le, and aarch64.
|
||||
assert_script_run "dracut -f";
|
||||
assert_script_run 'grub2-mkconfig -o $(readlink -m /etc/grub2.cfg)';
|
||||
assert_script_run "grub2-install /dev/vda" unless (get_var("UEFI"));
|
||||
my $instdev = get_var("OFW") ? '/dev/vda1' : '/dev/vda';
|
||||
assert_script_run "grub2-install $instdev" unless (get_var("UEFI"));
|
||||
}
|
||||
# reboot, in case any of the updates need a reboot to apply
|
||||
script_run "reboot", 0;
|
||||
|
Loading…
Reference in New Issue
Block a user