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

     1  source "qemu" "base-ubuntu-amd64" {
     2      headless         = var.headless
     3      floppy_files     = [
     4          "${local.http_directory}/preseed.cfg",
     5      ]
     6      http_directory   = local.http_directory
     7      shutdown_command = "echo 'vagrant'|sudo -S shutdown -P now"
     8      ssh_password     = "vagrant"
     9      ssh_username     = "vagrant"
    10      ssh_wait_timeout = "50m"
    11      disk_size        = 5000
    12      disk_interface   = "virtio-scsi"
    13      memory           = 512 * 4
    14      cpus             = 4
    15      boot_wait        = "5s"
    16  }