On 03/05/2023 12:00, Mark Rogers mark@more-solutions.co.uk said:
What do I need to do to achieve something simple like creating a new VM, booting it from a Windows ISO and installing Windows 10 on it?
I need to do it all from the command line or via a web interface - preferably having both options open to me. The server is headless so a traditional GUI is no use to me.
Hi Mark,
For a number of years now I've used QEMU/KVM, via libvirt and associated clients: virt-manager (Gnome GUI), and the CLI tools in libvirt-clients package (in particular virsh).
There's this available from RedHat on using virsh for remote admin that provides a good intro:
https://www.redhat.com/sysadmin/virsh-subcommands
..and this walk through of creating a VM from an ISO..
https://adamtheautomator.com/virsh/
your chosen web search engine and 'virsh tutorials' is your friend as usual ;)
HTH, Phlash.