fix: change the debugKeyPath name in osc bsusurrogate builder

This commit is contained in:
Marin Salinas 2019-02-06 09:31:12 -06:00 committed by Megan Marsh
parent 1c69d55a1f
commit ae444a3250
1 changed files with 1 additions and 1 deletions

View File

@ -157,7 +157,7 @@ func (b *Builder) Run(ui packer.Ui, hook packer.Hook, cache packer.Cache) (packe
&osccommon.StepKeyPair{ &osccommon.StepKeyPair{
Debug: b.config.PackerDebug, Debug: b.config.PackerDebug,
Comm: &b.config.RunConfig.Comm, Comm: &b.config.RunConfig.Comm,
DebugKeyPath: fmt.Sprintf("oapi_%s.pem", b.config.PackerBuildName), DebugKeyPath: fmt.Sprintf("oapi_%s", b.config.PackerBuildName),
}, },
&osccommon.StepSecurityGroup{ &osccommon.StepSecurityGroup{
SecurityGroupFilter: b.config.SecurityGroupFilter, SecurityGroupFilter: b.config.SecurityGroupFilter,