From 77f42f5b097cc3f34b904e4596c0846b5307e75c Mon Sep 17 00:00:00 2001 From: Roman Tomjak <6570684+romantomjak@users.noreply.github.com> Date: Sat, 15 Jul 2023 15:15:29 +0100 Subject: [PATCH] add link to proxmox docs --- builder/proxmox/common/config.go | 1 + 1 file changed, 1 insertion(+) diff --git a/builder/proxmox/common/config.go b/builder/proxmox/common/config.go index c4978595..f35c3bcf 100644 --- a/builder/proxmox/common/config.go +++ b/builder/proxmox/common/config.go @@ -512,6 +512,7 @@ func (c *Config) Prepare(upper interface{}, raws ...interface{}) ([]string, []st } } + // See https://pve.proxmox.com/pve-docs/api-viewer/index.html#/nodes/{node}/hardware/pci/{pciid} validPCIIDre := regexp.MustCompile(`^(?:[0-9a-fA-F]{4}:)?[0-9a-fA-F]{2}:[0-9a-fA-F]{2}\.[0-9a-fA-F]$`) for _, device := range c.PCIDevices { if device.Host == "" && device.Mapping == "" {