github.com/hashicorp/packer@v1.14.3/command/test-fixtures/cleanup-script/template.json (about)

     1  {
     2  	"builders": [
     3  		{
     4  			"type": "null",
     5  			"communicator": "none"
     6  		}
     7  	],
     8  	"provisioners": [
     9  		{
    10  			"type": "shell-local",
    11  			"inline": ["exit 2"]
    12  		}
    13  	],
    14  	"error-cleanup-provisioner": {
    15  		"type": "shell-local",
    16  		"inline": ["echo 'rubber ducky'> ducky.txt"]
    17  	}
    18  }