- Minor
I have a VM configured that was using the Ubuntu template, and which I decided to install Debian on. Once I had installed Debian, I was unable to change the icon using forms mode — the "Update" button changed to "Updating…", both that and the "Cancel" button were greyed, and no progress appeared to be made. On reloading the page after one minute, the icon was still Ubuntu and both buttons were re-enabled.
I was able to make the change by changing the line <vmtemplate xmlns="unraid" name="Ubuntu" icon="ubuntu.png" os="ubuntu"/> to <vmtemplate xmlns="unraid" name="Debian" icon="debian.png" os="debian"/> in the XML, but I assume the GUI is meant to be able to update this or why would it let me choose an icon when I click on the existing one? 😀
One point to note is that this VM had previously been edited in XML mode.
Reproduction instructions:
- Create a new VM of type Ubuntu.
- Install a version of Ubuntu (20.04 should be fine on it).
- Decide to install Debian instead.
- Stop the VM.
- Change the attached image to a Debian installer.
- Start the VM.
- Realise that the boot order will need changing as it has ignored the image. Stop the VM.
- Swap the boot order of the disks in XML mode as form mode doesn't support doing this (but that's a separate feature request…)
- Start the VM.
- Install Debian.
- Stop the VM.
- Swap the boot order back in XML mode.
- Change back to forms mode.
- Try to change the icon using forms mode.
- Wait. Wait some mode. Continue waiting.
- After more than a minute, reload the page. Observe that the change has not been made.
- Edit the VM in XML mode and make the swap above.
- Return to forms mode, and observe that the change has now been made.
This was only that easy because I still had an Ubuntu VM to copy from, otherwise I would have to have guessed at the correct line or created a new VM just to be able to copy a line from the XML.
(Aside: is there really no way to enter monospaced text in a post?)