mohae/feedlot

only and except support for provisioners

Closed this issue · 1 comments

mohae commented

Add support for only and except:

{
  "type": "shell",
  "script": "script.sh",
  "only": ["virtualbox-iso"]
}

From https://www.packer.io/docs/templates/provisioners.html
The values for `only` and `except` are _build names_, not builder types.
mohae commented

Only and except support exists. The user needs to ensure the correct values are used.