diff --git a/device-connectors/src/testflinger_device_connectors/devices/oemscript/oemscript.py b/device-connectors/src/testflinger_device_connectors/devices/oemscript/oemscript.py index 051ddfdba..6a53d82ce 100644 --- a/device-connectors/src/testflinger_device_connectors/devices/oemscript/oemscript.py +++ b/device-connectors/src/testflinger_device_connectors/devices/oemscript/oemscript.py @@ -91,7 +91,7 @@ def provision(self): provision_data = self.job_data.get("provision_data", {}) image_url = provision_data.get("url") - distro = self.distro + distro = getattr(self, 'distro', None) # Download the .iso image from image_url if not image_url: diff --git a/docs/reference/device-connector-types.rst b/docs/reference/device-connector-types.rst index 95f6db13c..73fa323e3 100644 --- a/docs/reference/device-connector-types.rst +++ b/docs/reference/device-connector-types.rst @@ -265,7 +265,7 @@ The ``hp_oemscript`` device connector does not support any ``provision_data`` ke the ``zstd`` tool is supported) and flashed to the device, which will be used to boot up the DUT. -nole_oemscript +noble_oemscript ------------ The ``noble_oemscript`` device connector supports the following ``provision_data`` keys.