{
    "builders":
    [
        {
            "name": "blah",

            "type": "qemu",
            "format": "qcow2",
            "accelerator": "kvm",
            "disk_size": "{{disk_size}}",

            "iso_url": "http://cdimage.debian.org/debian-cd/8.1.0/amd64/iso-cd/debian-8.1.0-amd64-netinst.iso",
            "iso_checksum": "1a311f9afb68d6365211b13b4342c40b",
            "iso_checksum_type": "md5",

            "http_directory": "http",
            "ssh_username": "{{user}}",
            "ssh_password": "{{password}}",
            "shutdown_command": "echo '{{password}}'|sudo -S shutdown -h now",

            "boot_wait": "2s",
            "boot_command": [
                   "<esc><wait><wait>",
                   "install auto ",
                   "preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed.cfg ",
                   "debian-installer=en_US locale=en_US keymap=us ",
                   "netcfg/get_hostname={{hostname}} ",
                   "netcfg/get_domain={{domain}} ",

                   "fb=false debconf/frontend=noninteractive ",

                   "passwd/user-fullname={{user}} ",
                   "passwd/user-password={{password}} ",
                   "passwd/user-password-again={{password}} ",
                   "passwd/username={{user}} ",

                   "<enter>"
            ]
        }
    ]
}
