mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-12-21 09:53:09 +00:00
support_server: use --use-host-config with --installroot
dnf5 needs us to do this to make it use the repo config from the host, rather than expecting there to be one inside the target install root. This test should now always run on F41 with dnf5, so let's just change it unconditionally. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
63ae1774cb
commit
8a54cff407
@ -31,7 +31,7 @@ sub _pxe_setup {
|
||||
assert_script_run "mkdir -p /var/lib/tftpboot/pxelinux.cfg";
|
||||
# install bootloader packages
|
||||
assert_script_run "dnf -y install syslinux", 120;
|
||||
assert_script_run "dnf -y --releasever=$ourversion --installroot=/var/tmp/fedora install shim-x64 grub2-efi-x64", 300;
|
||||
assert_script_run "dnf -y --releasever=$ourversion --use-host-config --installroot=/var/tmp/fedora install shim-x64 grub2-efi-x64", 300;
|
||||
# copy bootloader files to tftp root
|
||||
assert_script_run "cp /usr/share/syslinux/{pxelinux.0,vesamenu.c32,ldlinux.c32,libcom32.c32,libutil.c32} /var/lib/tftpboot";
|
||||
assert_script_run "cp /var/tmp/fedora/boot/efi/EFI/fedora/{shim.efi,grubx64.efi} /var/lib/tftpboot";
|
||||
|
Loading…
Reference in New Issue
Block a user