"builders": [{
"type": "qemu",
"iso_url": "ubuntu-18.04.2-server-cloudimg-amd64.img",
"iso_checksum": "aa5bbaf6a3ec34001dc43b10de62d304bb6e956b262e85f554b2fed0e1250714",
"iso_checksum_type": "sha256",
"disk_image": true,
"output_directory": "{{user `output_directory`}}",
"disk_size": 10000,
"format": "qcow2",
"disk_compression": false,
"headless": true,
"accelerator": "kvm",
"ssh_username": "{{user `username`}}",
"ssh_password": "{{user `username`}}",
"ssh_port": 22,
"ssh_wait_timeout": "{{user `ssh_timeout`}}",
"vm_name": "{{user `image_name`}}",
"use_default_display": true,
"shutdown_command": "sudo shutdown -h now",
"qemuargs": [
["-m", "4096M"],
["-smp", "4"],
["-cdrom", "cloud.img"],
["-smbios", "type=1,serial=ds=nocloud"],
["-serial", "mon:stdio"]
]
}],
"provisioners": [{
"type": "shell",
"inline": [
"while [ ! -f /var/lib/cloud/instance/boot-finished ]; do echo 'Waiting for cloud-init...'; sleep 1; done",
"ssh-keyscan github.com >> /home/{{user `username`}}/.ssh/known_hosts"
]
},
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to packer-tool...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/d5b0264f-51b3-4c87-8d70-e0f2334c1d1f%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to packe...@googlegroups.com.