Skip to content

Commit

Permalink
fix issues chef#1499 and chef#1500
Browse files Browse the repository at this point in the history
Signed-off-by: verschlimmbesserer <[email protected]>
  • Loading branch information
verschlimmbesserer committed May 4, 2023
1 parent 5b98131 commit 8b9866f
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
3 changes: 3 additions & 0 deletions packer_templates/pkr-sources.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -270,4 +270,7 @@ source "vmware-iso" "vm" {
winrm_timeout = var.winrm_timeout
winrm_username = var.winrm_username
vm_name = local.vm_name
usb = var.vmware_enable_usb
network = var.vmware_network
network_adapter_type = var.vmware_network_adapter_type
}
13 changes: 12 additions & 1 deletion packer_templates/pkr-variables.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,18 @@ variable "vmware_vmx_remove_ethernet_interfaces" {
type = bool
default = true
}

variable "vmware_enable_usb" {
type = bool
default = true
}
variable "vmware_network_adapter_type" {
type = string
default = "e1000e"
}
variable "vmware_network" {
type = string
default = "nat"
}
# Source block common variables
variable "boot_command" {
type = list(string)
Expand Down

0 comments on commit 8b9866f

Please sign in to comment.