unset HardwareConfig.Firmware since CreateConfig.Firmware configures the firmware in StepCreateVM
This commit is contained in:
parent
d5c40fb0a2
commit
765d96e8eb
|
@ -60,6 +60,11 @@ func (b *Builder) Run(ctx context.Context, ui packer.Ui, hook packer.Hook) (pack
|
|||
)
|
||||
}
|
||||
|
||||
// default Firmware to "" since it is already configured by the CreateConfig.Firmware
|
||||
if b.config.CreateConfig.Firmware != "" {
|
||||
b.config.HardwareConfig.Firmware = ""
|
||||
}
|
||||
|
||||
steps = append(steps,
|
||||
&StepCreateVM{
|
||||
Config: &b.config.CreateConfig,
|
||||
|
|
Loading…
Reference in New Issue