fix configuration_parameters (#9713)
This commit is contained in:
parent
f295b6d2e5
commit
dd37a10355
|
@ -51,12 +51,12 @@ func (s *StepConfigParams) Run(_ context.Context, state multistep.StateBag) mult
|
||||||
if s.Config.ToolsUpgradePolicy {
|
if s.Config.ToolsUpgradePolicy {
|
||||||
info.ToolsUpgradePolicy = "UpgradeAtPowerCycle"
|
info.ToolsUpgradePolicy = "UpgradeAtPowerCycle"
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
ui.Say("Adding configuration parameters...")
|
ui.Say("Adding configuration parameters...")
|
||||||
if err := vm.AddConfigParams(configParams, info); err != nil {
|
if err := vm.AddConfigParams(configParams, info); err != nil {
|
||||||
state.Put("error", fmt.Errorf("error adding configuration parameters: %v", err))
|
state.Put("error", fmt.Errorf("error adding configuration parameters: %v", err))
|
||||||
return multistep.ActionHalt
|
return multistep.ActionHalt
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return multistep.ActionContinue
|
return multistep.ActionContinue
|
||||||
|
|
Loading…
Reference in New Issue