Update config.go
This commit is contained in:
parent
0cbf80dafe
commit
a9ed8eac2a
|
@ -267,6 +267,9 @@ func (c *Config) Prepare(raws ...interface{}) ([]string, error) {
|
|||
|
||||
// Validation
|
||||
var errs *packer.MultiError
|
||||
errs = packer.MultiErrorAppend(errs, c.ImageTag.CopyOn(c.ImageTags)...)
|
||||
errs = packer.MultiErrorAppend(errs, c.VmTag.CopyOn(c.VmTags)...)
|
||||
|
||||
if es := c.Comm.Prepare(&c.ctx); len(es) > 0 {
|
||||
errs = packer.MultiErrorAppend(errs, es...)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue