packer-cn/command/test-fixtures/cleanup-script/template.json

18 lines
253 B
JSON
Raw Normal View History

{
"builders": [
{
"type": "null",
"communicator": "none"
}
],
"provisioners": [
{
"type": "shell-local",
"inline": ["exit 2"]
}
],
"on-error-script": {
"type": "shell-local",
"inline": ["echo 'rubber ducky'> ducky.txt"]
}
}