Merge pull request #9557 from jhawk28/bug_9547

unset HardwareConfig.Firmware for vsphere-iso
This commit is contained in:
Megan Marsh 2020-07-09 14:49:38 -07:00 committed by GitHub
commit f240d2a62c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -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,