github.com/rothwerx/packer@v0.9.0/builder/parallels/common/prlctl_version_config.go (about) 1 package common 2 3 import ( 4 "github.com/mitchellh/packer/template/interpolate" 5 ) 6 7 type PrlctlVersionConfig struct { 8 PrlctlVersionFile string `mapstructure:"prlctl_version_file"` 9 } 10 11 func (c *PrlctlVersionConfig) Prepare(ctx *interpolate.Context) []error { 12 if c.PrlctlVersionFile == "" { 13 c.PrlctlVersionFile = ".prlctl_version" 14 } 15 16 return nil 17 }