Skip to content

Commit

Permalink
[6.15.z] Fix pxeless discovery test (#16349)
Browse files Browse the repository at this point in the history
Fix pxeless discovery test (#16340)

Signed-off-by: Shubham Ganar <[email protected]>
(cherry picked from commit 9b25d84)

Co-authored-by: Shubham Ganar <[email protected]>
  • Loading branch information
Satellite-QE and shubhamsg199 authored Sep 16, 2024
1 parent b932aee commit 5b02d2a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pytest_fixtures/component/provision_pxe.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand All @@ -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(
Expand Down

0 comments on commit 5b02d2a

Please sign in to comment.