Skip to content

Commit

Permalink
add link to proxmox docs
Browse files Browse the repository at this point in the history
  • Loading branch information
romantomjak committed Jul 15, 2023
1 parent 564dc10 commit 77f42f5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions builder/proxmox/common/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 == "" {
Expand Down

0 comments on commit 77f42f5

Please sign in to comment.