title: Azure RHEL Linux VM updates , Gen2 supported?
body: <p>I am trying to add a RHEL8.2Gen2 VM to automated patching but its failing . I get the hybrid runbook worker is not running error when I run the trouble shooter.</p>
  <p>I also get the following error when I go to the &quot;Check For Updates&quot; option on the VM page .</p>
  <blockquote>
  <p>Update operation on 'Microsoft.Compute/virtualMachines', machine:
  'hexdev-linux02-RHEL8.2'. Error details:
  {&quot;error&quot;:{&quot;code&quot;:&quot;BadRequest&quot;,&quot;message&quot;:&quot;The selected VM image is not
  supported for VM Guest patch operations. Learn more at:
  <a href="https://aka.ms/VMGuestPatchingCompatibility%22%7D%7D" rel="nofollow noreferrer">https://aka.ms/VMGuestPatchingCompatibility&quot;}}</a></p>
  </blockquote>
  <p>Looking at the webpage the error advises me to look at it says RHEL8.2 is supported, but it does not mention anything about Gen1 or Gen2 VMs.</p>
  <p>Everything works when I use a Gen1 type VM image for the same RHEL8.2 distro.</p>
  <p>Can anyone confirm if  Check for Updates and automated patching for RHEL8.2 image should work if you use a Gen2 VM?
  <a href="https://i.stack.imgur.com/D8L56.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/D8L56.png" alt="enter image description here" /></a></p>