Merge pull request #8004 from onematchfox/master

Remove check/requirement for target_snapshot
This commit is contained in:
Megan Marsh 2019-08-19 09:43:48 -07:00 committed by GitHub
commit fd0c393db7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 5 deletions

View File

@ -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,