Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to set the VM image name? #28

Open
030 opened this issue Mar 11, 2022 · 2 comments
Open

How to set the VM image name? #28

030 opened this issue Mar 11, 2022 · 2 comments

Comments

@030
Copy link

030 commented Mar 11, 2022

Currently the Azure Image Builder creates a random name consisting of 15 elements, e.g.: 3df452d3sr8fg67. The question is whether this could be overwritten and an image name could be set.

Related: https://devops.stackexchange.com/questions/15594/how-to-set-the-virtual-machine-name-using-azure-image-builder

@HenryGelderbloem
Copy link

What's the advantage of this? The VM it creates to conduct the customisations is temporary and gets deleted once completed.

@030
Copy link
Author

030 commented Mar 18, 2022

At the company a naming policy was enabled that enforces that the vm name should have a certain suffix. For now they removed the policy, but we wonder whether it would be possible to set a VM name to ensure that the naming policy can be enabled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants