Run shell scripts for post-process images
Add the post-processor to your packer template:
{
"post-processors": [
{
"type": "shell",
"scripts": [
"script.sh"
]
}
]
}
Available configuration options:
Run:
$ go get github.com/kadaan/packer-post-processor-shell
$ go install github.com/kadaan/packer-post-processor-shell
Add the post-processor to ~/.packerconfig:
{
"post-processors": {
"shell": "packer-post-processor-shell"
}
}