parent
89c143bd3c
commit
bea167a48e
|
@ -55,6 +55,9 @@ func (b *Builder) Run(ui packer.Ui, hook packer.Hook, cache packer.Cache) (packe
|
||||||
&vmwcommon.StepOutputDir{
|
&vmwcommon.StepOutputDir{
|
||||||
Force: b.config.PackerForce,
|
Force: b.config.PackerForce,
|
||||||
},
|
},
|
||||||
|
&common.StepCreateFloppy{
|
||||||
|
Files: b.config.FloppyFiles,
|
||||||
|
},
|
||||||
&StepCloneVMX{
|
&StepCloneVMX{
|
||||||
OutputDir: b.config.OutputDir,
|
OutputDir: b.config.OutputDir,
|
||||||
Path: b.config.SourcePath,
|
Path: b.config.SourcePath,
|
||||||
|
|
|
@ -19,9 +19,10 @@ type Config struct {
|
||||||
vmwcommon.SSHConfig `mapstructure:",squash"`
|
vmwcommon.SSHConfig `mapstructure:",squash"`
|
||||||
vmwcommon.VMXConfig `mapstructure:",squash"`
|
vmwcommon.VMXConfig `mapstructure:",squash"`
|
||||||
|
|
||||||
SkipCompaction bool `mapstructure:"skip_compaction"`
|
FloppyFiles []string `mapstructure:"floppy_files"`
|
||||||
SourcePath string `mapstructure:"source_path"`
|
SkipCompaction bool `mapstructure:"skip_compaction"`
|
||||||
VMName string `mapstructure:"vm_name"`
|
SourcePath string `mapstructure:"source_path"`
|
||||||
|
VMName string `mapstructure:"vm_name"`
|
||||||
|
|
||||||
tpl *packer.ConfigTemplate
|
tpl *packer.ConfigTemplate
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue