Open rahulnegirock opened 2 years ago
Hi @rahulnegirock thanks for reporting. I saw you opened a thread on HashiCorp discuss as well. So I am happy that you opened a but on Packer. I'm going to transfer this issue to the Azure plugin repository and slate it for review.
Once transferred could you provide a redacted build log by running PACKER_LOG=1 packer build <your-template>
. So that we can see what steps are being executed.
That said, Is the password failing to SSH to the machine at build time "Packer is outputting SSH errors"? Or are you saying that once the image is built you are unable to SSH with the same credentials?
Hi @rahulnegirock thanks for reporting. I saw you opened a thread on HashiCorp discuss as well. So I am happy that you opened a but on Packer. I'm going to transfer this issue to the Azure plugin repository and slate it for review.
Once transferred could you provide a redacted build log by running
PACKER_LOG=1 packer build <your-template>
. So that we can see what steps are being executed.That said, Is the password failing to SSH to the machine at build time "Packer is outputting SSH errors"? Or are you saying that once the image is built you are unable to SSH with the same credentials?
Hi, Once image is built then I'm unable to SSH with the same credentials. Using Packer version: 1.7.10 [go1.17.6 linux amd64]
Hi @rahulnegirock thanks for reporting. I saw you opened a thread on HashiCorp discuss as well. So I am happy that you opened a but on Packer. I'm going to transfer this issue to the Azure plugin repository and slate it for review. Once transferred could you provide a redacted build log by running
PACKER_LOG=1 packer build <your-template>
. So that we can see what steps are being executed. That said, Is the password failing to SSH to the machine at build time "Packer is outputting SSH errors"? Or are you saying that once the image is built you are unable to SSH with the same credentials?Hi, Once image is built then I'm unable to SSH with the same credentials. Using Packer version: 1.7.10 [go1.17.6 linux amd64]
I'm facing the same issue after creating a virtual machine from a template created using vsphere-iso. The credentials work for the build process, but they fail when I try to log into the machine after it's provisioned in vCenter
I'm facing a similar issue too, It'd be great if someone can follow up on this !
Hi Team, I’m trying to build resource via packer builders “type”: “azure-arm”, and what is happening that using ssh_password, the existing user password is getting changed and later am unable to ssh into that machine using the same ssh_password which I passed in config. Although ssh_username sets the username but it seems password is generated randomly or getting changed automatically. So, Is it the expected behavior or I am missing something. Please help or consult. Below is the builder section for reference
“builders”: [ { “type”: “azure-arm”, “use_azure_cli_auth”: “True”, “os_type”: “Linux”,
}
],