mirror of
https://github.com/hashicorp/packer.git
synced 2026-10-06 06:33:18 -04:00
677 B
677 B
Parameters common to all provisioners:
-
pause_before(duration) - Sleep for duration before execution. -
only(array of string) - Only run the provisioner for listed builder(s) by name. -
override(object) - Override the builder with different settings for a specific builder, eg :{ "type": "shell", "script": "script.sh", "override": { "vmware-iso": { "execute_command": "echo 'password' | sudo -S bash {{.Path}}" } } } -
timeout(duration) - If the provisioner takes more than for example1h10m1sor10mto finish, the provisioner will timeout and fail.