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

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