Description of issue (in as much detail as possible)
I recently helped someone use az vm repair to help create a rescue vm for their source VM, an appliance running custom Linux. Since it was detected as a Linux VM, the repair VM was an Ubuntu box, which is specified per the documentation. However, the user needed the Rescue VM to be a Windows Server 2016+ with Hyper-V functionality in order to correct his particular issue, so we had to delete this rescue VM and manually create a WS2016 rescue VM. Thus, I propose an optional switch that gives the option for your Repair VM to be either Windows or Linux. By default it could be how it is currently (Windows Server repair VM for Windows source VMs, Ubuntu repair VMs for Linux source VMs), but if the switch is enabled, we can either
Specify if we want "Windows" or "Linux"
Maybe specify the exact Marketplace image we'd like our Rescue VM to be (I can imagine this being more of a headache to implement)
Thank you for your consideration!
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
ID: a0c5cd11-36e0-b233-4f0c-3d432a9925a1
Version Independent ID: 99b6e064-4f75-9cce-b6e0-0ad1943552b9
Extension name (the extension in question)
Repair
Description of issue (in as much detail as possible)
I recently helped someone use az vm repair to help create a rescue vm for their source VM, an appliance running custom Linux. Since it was detected as a Linux VM, the repair VM was an Ubuntu box, which is specified per the documentation. However, the user needed the Rescue VM to be a Windows Server 2016+ with Hyper-V functionality in order to correct his particular issue, so we had to delete this rescue VM and manually create a WS2016 rescue VM. Thus, I propose an optional switch that gives the option for your Repair VM to be either Windows or Linux. By default it could be how it is currently (Windows Server repair VM for Windows source VMs, Ubuntu repair VMs for Linux source VMs), but if the switch is enabled, we can either
Thank you for your consideration!
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.