2013-12-26 17:14:19 -05:00
|
|
|
package common
|
|
|
|
|
|
|
|
import (
|
2017-04-04 16:39:01 -04:00
|
|
|
"github.com/hashicorp/packer/template/interpolate"
|
2013-12-26 17:14:19 -05:00
|
|
|
)
|
|
|
|
|
|
|
|
type VMXConfig struct {
|
2017-05-24 19:44:35 -04:00
|
|
|
VMXData map[string]string `mapstructure:"vmx_data"`
|
|
|
|
VMXDataPost map[string]string `mapstructure:"vmx_data_post"`
|
|
|
|
VMXRemoveEthernet bool `mapstructure:"vmx_remove_ethernet_interfaces"`
|
2013-12-26 17:14:19 -05:00
|
|
|
}
|
|
|
|
|
2016-02-02 15:41:42 -05:00
|
|
|
func (c *VMXConfig) Prepare(ctx *interpolate.Context) []error {
|
2016-02-02 15:41:43 -05:00
|
|
|
return nil
|
2013-12-26 17:14:19 -05:00
|
|
|
}
|