Update Linux Azure virtual machines to manual patching

Rajesh Manna 0 Reputation points
2023-06-05T06:04:32.3333333+00:00

Hi team,

In our organisation, we have a patch management tool - 'Ivanti' - that updates all our Azure virtual machines (Windows and Linux). Right now, we're not planning on trying to get Azure to patch automatically.

After some investigation, I have found that for Windows Azure virtual machine, we can set the patch orchestration to 'Manual updates'. However, the same is not allowed for Linux Azure virtual machines.

I have tried using Azure PowerShell & CLI commands. There seems to be no way to set patch orchestration to 'manual updates' on Linux Azure VM.

My question is, is there a workaround where I can completely stop Azure from auto-patching the Linux Azure VMs?

Reference:

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,021 questions
{count} votes

2 answers

Sort by: Most helpful
  1. kobulloc-MSFT 26,801 Reputation points Microsoft Employee Moderator
    2023-06-07T19:00:53.1733333+00:00

    Hello, @Rajesh Manna ! I believe what you are looking for is ImageDefault. I'll go into more detail below.

    How do I set my Windows or Linux VM to be manually updated?

    There are 4 patch orchestration modes for Azure VMs:

    • AutomaticByPlatform (Windows and Linux): This is Azure-orchestrated patching.
    • AutomaticByOS (Windows): This enables Automatic Updates in Windows on the Virtual Machine.
    • Manual (Windows): This disables Automatic Updates in Windows on the Virtual Machine.
    • ImageDefault (Linux): This honors the default patching configuration on the Linux images used to create the VM.

    For more information:

    https://learn.microsoft.com/en-us/azure/virtual-machines/automatic-vm-guest-patching#patch-orchestration-modes


    I hope this has been helpful! Please take a moment to accept answers as this helps increase visibility of this question for other members of the Microsoft Q&A community. If you are still running into issues, let us know in the comments. Thank you for helping to improve Microsoft Q&A!

    User's image

    0 comments No comments

  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.