blob: 34c1d2e482f73e264d36b9b4fdf313ae94960737 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# A build block runs provisioner and post-processors on a source.
# Read the documentation for source blocks here:
# https://www.packer.io/docs/templates/hcl_templates/blocks/source
source "qemu" "ansible" {
accelerator = "${var.accelerator}"
boot_command = "${var.boot_command}"
boot_wait = "${var.boot_wait}"
disk_image = "${var.disk_image}"
disk_interface = "${var.disk_interface}"
disk_size = "${var.disk_size}"
format = "${var.format}"
headless = "${var.headless}"
http_directory = "${var.http_dir}"
iso_checksum = "${var.iso_checksum}"
iso_url = "${var.iso_url}"
output_directory = "${var.output_directory}"
qemuargs = "${var.qemuargs}"
shutdown_command = "${var.shutdown_command}"
skip_compaction = "${var.skip_compaction}"
ssh_password = "${var.ssh_password}"
ssh_timeout = "${var.ssh_timeout}"
ssh_username = "${var.ssh_username}"
use_backing_file = "${var.use_backing_file}"
vm_name = "${var.vm_name}"
}
|