Hi,
I want to make custom image in azure. I want to use `centos` username with 
a fixed UID.

Now while creating the custom image, the packer makes an ssh connection 
using the centos user.
Since the ssh connection is active we can't change the UID of centos user 
in our custom script.

Is there any way using provisioners i.e before making the SSH connection 
run "usermod" command on the base image machine?


-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/23dad31b-012c-468d-a10f-5f404acbf0e8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to