mirror of
https://github.com/hashicorp/packer.git
synced 2026-06-09 08:42:33 -04:00
azure: private SSH private key for debug
This commit is contained in:
parent
99033e7da2
commit
06ea433104
1 changed files with 4 additions and 0 deletions
|
|
@ -180,6 +180,10 @@ func (b *Builder) Run(ui packer.Ui, hook packer.Hook, cache packer.Cache) (packe
|
|||
if b.config.PackerDebug {
|
||||
ui.Message(fmt.Sprintf("temp admin user: '%s'", b.config.UserName))
|
||||
ui.Message(fmt.Sprintf("temp admin password: '%s'", b.config.Password))
|
||||
|
||||
if b.config.sshPrivateKey != "" {
|
||||
ui.Message(fmt.Sprintf("temp private ssh key: '%s'", b.config.sshPrivateKey))
|
||||
}
|
||||
}
|
||||
|
||||
b.runner = packerCommon.NewRunner(steps, b.config.PackerConfig, ui)
|
||||
|
|
|
|||
Loading…
Reference in a new issue