{
"builders":
[
{
"type": "qemu",
"accelerator": "kvm",
"headless": false,
"qemuargs": [
[ "-m", "2048M" ],
[ "-smp", "cpus=1,maxcpus=16,cores=4" ]
],
"disk_interface": "virtio",
"disk_size": 100000,
"format": "qcow2",
"net_device": "virtio-net",
"floppy_dirs": [ "docroot" ],
"iso_url": "/home/mike/CentOS-6.10-x86_64-minimal.iso",
"iso_checksum": "0da4a1206e7642906e33c0f155d2f835",
"iso_checksum_type": "md5",
"vm_name": "centos6-base.iso",
"output_directory": "centos6-base-img",
"http_directory": "docroot",
"http_port_min": 10082,
"http_port_max": 10089,
"ssh_host_port_min": 2222,
"ssh_host_port_max": 2229,
"ssh_username": "root",
"ssh_password": "password",
"ssh_port": 22,
"ssh_wait_timeout": "1200s",
"boot_wait": "10s",
"boot_command": [
"<up><wait><tab><wait> text ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/base-ks.cfg<enter><wait>"
],
"shutdown_command": "shutdown -P now"
}
],
"provisioners":
[
{
"type": "shell",
"inline": [
"mkdir /mnt/floppy",
"mount /dev/fd0 /mnt/floppy"
]
}
]
}