A number of people of have tried to install Windows on Cockpit on OMV 5 and failed. Many seems to be going back to OMV 4 and Virtualbox. Here is what I did to install Windows on Cockpit:
- Install OMV 5. Had to use ipv6.disable=1 in the grub argument because it hung on getting an ipv6 address.
- apt-get update
- apt-get dist-upgrade
- apt-get clean
- reboot
- Login to web interface and apply changes (caused by openmediavault package upgrade).
- reboot (probably not necessary but doesn't hurt)
- Login to web interface
- From System -> Network -> Interfaces, Delete the ethernet device but DO NOT apply changes.
- Add a Bridge using your same network settings as the ethernet device. I used DHCP.
- Apply changes. The IP address will probably change if you are using DHCP.
- Install omv-extras. I used the script from the command line
- Install Cockpit from omv-extras Cockpit tab.
- Open Cockpit web interface with Open Web button on Cockpit tab.
- Go to Virtual Machines tab. It should recognize one network.
- Create a VM
- Enter name
- Pick ISO
- Pick any OS since Windows is not in the list - I used Haiku. You can edit with virsh edit [VM-NAME] if it causes problems -https://wiki.libvirt.org/page/…nd_and_how_do_I_use_it.3F.
- Set disk size. I used 40 GB
- Set Memory. I used 4 GB
- Uncheck Immediately Start VM
- Update vCPUs from 1 to 2
- Click Install