From 47c027e5c8e55dbfcd1a088e8a6ac9e4bb7a55aa Mon Sep 17 00:00:00 2001 From: Brian Fox Date: Mon, 19 Aug 2019 11:24:05 +0200 Subject: [PATCH] Remove check/requirement for target_snapshot --- builder/virtualbox/vm/config.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/builder/virtualbox/vm/config.go b/builder/virtualbox/vm/config.go index a427b5766..aca28ca92 100644 --- a/builder/virtualbox/vm/config.go +++ b/builder/virtualbox/vm/config.go @@ -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,