OS Reload linux VM

Marcos Oliveira 20 Reputation points
2024-06-11T19:55:43.68+00:00

Hello.

Does anyone know if it's possible to OS reaload an Azure VM ?

In my tests, using the redeploy (which just moves the vm from one host to another) and reaply didn't work.
I created a test file and at the end of both processes it was still there.

What I need is to the machine come back as a fresh install. It's actually part of a NVA deployment, so I woudn't like to delete and create again, since it will cause me other kind of problems.

Regards

Marcos Oliveira.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,513 questions
0 comments No comments
{count} votes

Accepted answer
  1. deherman-MSFT 35,241 Reputation points Microsoft Employee
    2024-06-11T20:23:01.29+00:00

    @Marcos Oliveira
    It is not possible to take an existing Linux VM and reset it to baseline. If you need to keep the Azure resources in place, but want to start fresh otherwise you could consider swapping the OS disk to one from a fresh VM or backup.

    Hope this helps! Let me know if you have questions or need further assistance.


    If you still have questions, please let us know in the "comments" and we would be happy to help you. Comment is the fastest way of notifying the experts.

    If the answer has been helpful, we appreciate hearing from you and would love to help others who may have the same question. Accepting answers helps increase visibility of this question for other members of the Microsoft Q&A community.

    Thank you for helping to improve Microsoft Q&A!

    User's image

    0 comments No comments

0 additional answers

Sort by: Most helpful