mirror of
https://github.com/hashicorp/packer.git
synced 2026-06-11 09:40:17 -04:00
Fixes 'unknown configuration key' errors for 'only' and 'except'
This commit is contained in:
parent
793698f8a7
commit
a5818b158f
1 changed files with 2 additions and 0 deletions
|
|
@ -134,6 +134,8 @@ func (r *rawTemplate) Template() (*Template, error) {
|
|||
}
|
||||
|
||||
// Set the configuration
|
||||
delete(c, "except")
|
||||
delete(c, "only")
|
||||
delete(c, "keep_input_artifact")
|
||||
delete(c, "type")
|
||||
if len(c) > 0 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue