How to determine from which image a virtual machine was deployed?

yonatan.rosenfeld 1 Reputation point
2021-03-11T09:10:40.437+00:00

I have a virtual machine running RedHat 7.3, I would like to see which image was used to deploy it.

Azure Lab Services
Azure Lab Services
An Azure service that is used to set up labs for classrooms, trials, development and testing, and other scenarios.
282 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. kobulloc-MSFT 23,736 Reputation points Microsoft Employee
    2021-03-16T18:37:28.93+00:00

    It's easy to forget what base or image you used to create your VM, especially if it's been a while since the VM was deployed. To find out which base/image was used for your deployed virtual machine:

    1. In your DevTest Labs resource group, navigate to the VM you are interested in
    2. In the upper right, you'll see the base that was used
    3. Click on "JSON View" in the upper right
    4. Under "properties", look for "galleryImageReference" for the image that was used

    78359-answer01.png

    78327-answer02.png

    Related:

    0 comments No comments