packer-cn/builder/virtualbox/common/vboxmanage_config.go
Chris Bednarski 24dc798cfb Revert "Prevalidate Hardware Specs on Linux"
This reverts commit eda84cb2d38dc0edc53b705661e9f680d104273e.
2016-02-02 12:41:43 -08:00

18 lines
317 B
Go

package common
import (
"github.com/mitchellh/packer/template/interpolate"
)
type VBoxManageConfig struct {
VBoxManage [][]string `mapstructure:"vboxmanage"`
}
func (c *VBoxManageConfig) Prepare(ctx *interpolate.Context) []error {
if c.VBoxManage == nil {
c.VBoxManage = make([][]string, 0)
}
return nil
}