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