Check for empty iso name
This commit is contained in:
parent
c2c133c605
commit
41c5930cde
@ -199,6 +199,11 @@ func (self *Builder) Prepare(raws ...interface{}) (params []string, retErr error
|
||||
}
|
||||
*/
|
||||
|
||||
if self.config.IsoName == "" {
|
||||
errs = packer.MultiErrorAppend(
|
||||
errs, errors.New("an iso_name must be specified"))
|
||||
}
|
||||
|
||||
self.config.BootWait, err = time.ParseDuration(self.config.RawBootWait)
|
||||
if err != nil {
|
||||
errs = packer.MultiErrorAppend(
|
||||
|
Loading…
Reference in New Issue
Block a user