Remove check/requirement for target_snapshot
This commit is contained in:
parent
316a30b31d
commit
47c027e5c8
|
@ -97,11 +97,6 @@ func NewConfig(raws ...interface{}) (*Config, []string, error) {
|
|||
fmt.Errorf("vm_name is required"))
|
||||
}
|
||||
|
||||
if c.TargetSnapshot == "" {
|
||||
errs = packer.MultiErrorAppend(errs,
|
||||
fmt.Errorf("target_snapshot is required"))
|
||||
}
|
||||
|
||||
validMode := false
|
||||
validModes := []string{
|
||||
vboxcommon.GuestAdditionsModeDisable,
|
||||
|
|
Loading…
Reference in New Issue