Skip to content

Commit

Permalink
fix error message
Browse files Browse the repository at this point in the history
  • Loading branch information
romantomjak committed Jul 10, 2023
1 parent 15952da commit 5c9d64c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builder/proxmox/common/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ func (c *Config) Prepare(upper interface{}, raws ...interface{}) ([]string, []st

for _, device := range c.PCIDevices {
if device.Host == "" && device.Mapping == "" {
errs = packersdk.MultiErrorAppend(errs, errors.New("either the host_pci_id or the mapping must be specified"))
errs = packersdk.MultiErrorAppend(errs, errors.New("either the host or the mapping key must be specified"))
}
if device.LegacyIGD != nil && *device.LegacyIGD {
if c.Machine != "pc" && !strings.HasPrefix(c.Machine, "pc-i440fx") {
Expand Down

0 comments on commit 5c9d64c

Please sign in to comment.