Skip to content

Commit

Permalink
oops, forgot to rename the field
Browse files Browse the repository at this point in the history
  • Loading branch information
romantomjak committed Jul 15, 2023
1 parent b34d503 commit d4ec90f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion builder/proxmox/common/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ type pciDeviceConfig struct {
// The type of mediated device to use. An instance of this type will be created on startup of the VM and will be cleaned up when the VM stops.
MDEV string `mapstructure:"mdev"`
// Specify whether or not the device’s ROM BAR will be visible in the guest’s memory map. Defaults to `false`.
HideROMBAR bool `mapstructure:"rombar"`
HideROMBAR bool `mapstructure:"hide_rombar"`
// Custom PCI device rom filename (must be located in `/usr/share/kvm/`).
ROMFile string `mapstructure:"romfile"`
//Override PCI subsystem device ID visible to guest.
Expand Down
4 changes: 2 additions & 2 deletions builder/proxmox/common/config.hcl2spec.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

- `mdev` (string) - The type of mediated device to use. An instance of this type will be created on startup of the VM and will be cleaned up when the VM stops.

- `rombar` (bool) - Specify whether or not the device’s ROM BAR will be visible in the guest’s memory map. Defaults to `false`.
- `hide_rombar` (bool) - Specify whether or not the device’s ROM BAR will be visible in the guest’s memory map. Defaults to `false`.

- `romfile` (string) - Custom PCI device rom filename (must be located in `/usr/share/kvm/`).

Expand Down

0 comments on commit d4ec90f

Please sign in to comment.