You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 13, 2021. It is now read-only.
any plans or method to specify the resource group, subnet and vnet rather than packer creating temporary ones each time ( eg deploy the VM into an existing environment rather than creating new )
any way to specify your own ssh key rather than using the generated one?
Using the centos/openlogic image the default user 'packer' does not have sudo rights without password. Is there a way to get this into the image so that customisation can be performed ?
I tried using "username" : "root" in the JSON template but the VM is not created with this error:
==> azure-arm: Preparing builder ...
azure-arm: Creating Azure Resource Manager (ARM) client ...
==> azure-arm: Creating resource group ...
==> azure-arm: -> ResourceGroupName : 'packer-Resource-Group-20t0mp7hzm'
==> azure-arm: -> Location : 'Australia SouthEast'
==> azure-arm: Validating deployment template ...
==> azure-arm: -> ResourceGroupName : 'packer-Resource-Group-20t0mp7hzm'
==> azure-arm: -> DeploymentName : 'pkrdp20t0mp7hzm'
==> azure-arm: Deploying deployment template ...
==> azure-arm: -> ResourceGroupName : 'packer-Resource-Group-20t0mp7hzm'
==> azure-arm: -> DeploymentName : 'pkrdp20t0mp7hzm'
==> azure-arm: Deployment failed with a status of 'Failed'.
==> azure-arm: Deployment failed with a status of 'Failed'.
Build 'azure-arm' finished.
Lastly, without the 'username' field, the build proceeds but the OS generalization also fails after a long timeout - maybe because of sudo issue again?
==> azure-arm: Executing OS generalization...
==> azure-arm: OS generalization has non-zero exit status.
==> azure-arm:
==> azure-arm: Stdout:
==> azure-arm: We trust you have received the usual lecture from the local System
==> azure-arm: Administrator. It usually boils down to these three things:
==> azure-arm:
==> azure-arm: #1) Respect the privacy of others.
==> azure-arm: #2) Think before you type.
==> azure-arm: #3) With great power comes great responsibility.
==> azure-arm:
==> azure-arm: [sudo] password for packer:
Hi,
Question about the azure-arm provisioner if i may? New to github, apologies if this is covered anywhere else that I couldn't find!!
Using the centos/openlogic image the default user 'packer' does not have sudo rights without password. Is there a way to get this into the image so that customisation can be performed ?
I tried using "username" : "root" in the JSON template but the VM is not created with this error:
Lastly, without the 'username' field, the build proceeds but the OS generalization also fails after a long timeout - maybe because of sudo issue again?
==> azure-arm: Executing OS generalization...
==> azure-arm: OS generalization has non-zero exit status.
==> azure-arm:
==> azure-arm: Stdout:
==> azure-arm: We trust you have received the usual lecture from the local System
==> azure-arm: Administrator. It usually boils down to these three things:
==> azure-arm:
==> azure-arm: #1) Respect the privacy of others.
==> azure-arm: #2) Think before you type.
==> azure-arm: #3) With great power comes great responsibility.
==> azure-arm:
==> azure-arm: [sudo] password for packer:
Happy to test
Thanks