mirror of
https://github.com/hashicorp/packer.git
synced 2026-09-22 07:51:39 -04:00
azure: private SSH private key for debug
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user