From 5b02d2abc31b5b4de9ecdae90d25ca9608851023 Mon Sep 17 00:00:00 2001 From: Satellite QE <115476073+Satellite-QE@users.noreply.github.com> Date: Mon, 16 Sep 2024 04:26:37 -0400 Subject: [PATCH] [6.15.z] Fix pxeless discovery test (#16349) Fix pxeless discovery test (#16340) Signed-off-by: Shubham Ganar (cherry picked from commit 9b25d84960f222e98f09dd3ed74267f0826533b8) Co-authored-by: Shubham Ganar <67952129+shubhamsg199@users.noreply.github.com> --- pytest_fixtures/component/provision_pxe.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pytest_fixtures/component/provision_pxe.py b/pytest_fixtures/component/provision_pxe.py index f86278b33de..43184e6f323 100644 --- a/pytest_fixtures/component/provision_pxe.py +++ b/pytest_fixtures/component/provision_pxe.py @@ -316,7 +316,7 @@ def pxe_loader(request): @pytest.fixture -def pxeless_discovery_host(provisioning_host, module_discovery_sat): +def pxeless_discovery_host(provisioning_host, module_discovery_sat, pxe_loader): """Fixture for returning a pxe-less discovery host for provisioning""" sat = module_discovery_sat.sat image_name = f"{gen_string('alpha')}-{module_discovery_sat.iso}" @@ -333,6 +333,7 @@ def pxeless_discovery_host(provisioning_host, module_discovery_sat): workflow='import-disk-image', import_disk_image_name=image_name, import_disk_image_url=(f'https://{sat.hostname}/pub/{fdi}'), + firmware_type=pxe_loader.vm_firmware, ).execute() # Change host to boot discovery image Broker(