github.com/hashicorp/packer@v1.14.3/examples/hcl/linux/source.vmware-vmx.pkr.hcl (about)

     1  source "vmware-vmx" "base-ubuntu-amd64" {
     2      headless                = var.headless
     3      boot_wait               = "10s"
     4      http_directory          = local.http_directory
     5      shutdown_command        = "echo 'vagrant' | sudo -S shutdown -P now"
     6      ssh_password            = "vagrant"
     7      ssh_port                = 22
     8      ssh_timeout             = "10000s"
     9      ssh_username            = "vagrant"
    10      tools_upload_flavor     = "linux"
    11      vmx_data = {
    12          "cpuid.coresPerSocket" = "1"
    13          "ethernet0.pciSlotNumber" = "32"
    14      }
    15      vmx_remove_ethernet_interfaces = true
    16  }