We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1fdb3b2 commit ed5f306Copy full SHA for ed5f306
1 file changed
oclp_r/efi_builder/storage.py
@@ -130,7 +130,7 @@ def _pcie_handling(self) -> None:
130
nvme_aspm = (controller.aspm & (~0b11)) | 0b10
131
132
if controller.pci_path:
133
- logging.info(self.trans.storage()["- Found NVMe ({i}) at {controller_pci_path}"].format(i=i+1,controller_pci_path=controller.pci_path))
+ logging.info(self.trans.storage()["- Found NVMe ({i}) at {controller_pci_path}"].format(i=i,controller_pci_path=controller.pci_path))
134
self.config["DeviceProperties"]["Add"].setdefault(controller.pci_path, {})["pci-aspm-default"] = nvme_aspm
135
self.config["DeviceProperties"]["Add"][controller.pci_path.rpartition("/")[0]] = {"pci-aspm-default": nvme_aspm}
136
else:
0 commit comments