|
|
|
|
@ -87,6 +87,7 @@ type Config struct {
|
|
|
|
|
|
|
|
|
|
BootCommand []string `mapstructure:"boot_command"`
|
|
|
|
|
SwitchName string `mapstructure:"switch_name"`
|
|
|
|
|
VlandID string `mapstructure:"vlan_id"`
|
|
|
|
|
Cpu uint `mapstructure:"cpu"`
|
|
|
|
|
Generation uint `mapstructure:"generation"`
|
|
|
|
|
EnableMacSpoofing bool `mapstructure:"enable_mac_spoofing"`
|
|
|
|
|
@ -353,6 +354,10 @@ func (b *Builder) Run(ui packer.Ui, hook packer.Hook, cache packer.Cache) (packe
|
|
|
|
|
IsoPaths: b.config.SecondaryDvdImages,
|
|
|
|
|
Generation: b.config.Generation,
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
&hypervcommon.StepConfigureVlan{
|
|
|
|
|
VlanID: b.config.VlandID,
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
&hypervcommon.StepRun{
|
|
|
|
|
BootWait: b.config.BootWait,
|
|
|
|
|
|