User Variables can be overridden invidiually by passing -var 'key=value'
or passing a JSON file via -var-file=path
.
User Variables for overriding existing Packer values
VM name to pass to qemu. See vm_name
URL of disc image to boot. See iso_url
URL of checksum file associated with iso_url
. See iso_checksum
Username for default account. See ssh_username
Password for default account. See ssh_password
Max time to wait for ssh to become available before failing. See ssh_timeout
Directory to save VM disk image to. Can be used to build on top of a ramdisk for significant decrease in build time, eg /dev/shm/packer
. See output_directory
Size of VM disk image. See disk_size
Custom User Variables not used to override Packer provisioning settings
Set to true
to cache packages between packer builds. Requires sshpass
installed on system running packer.
Version of ansible to install and use during provisioning.
Raspberry Pi firmware version to install.
Raspberry Pi hardware version to target for build.
Extra environment variables to pass to shell provisioning scripts. Can be used to configure a caching HTTP proxy, eg http_proxy=http://squid.local:8000
.
Extra ansible variables to pass to ansible provisioning playbooks. Can be used to configure a caching HTTP proxy, eg http_proxy=http://squid.local:8000
.
Extra arguments to pass to kernel when booting. Can be used to configure a caching HTTP proxy, eg mirror/http/proxy=http://squid.local:8000
.