On Sat, Jan 25, 2025 at 05:28:59AM -0000, rodrigoprieto2019@xxxxxxxxx wrote: > Hello, I would like to know if this behavior is normal. When I create a VM locally using the virt-install command with the argument --osinfo detect=on, it works perfectly and detects the operating system version. However, when I try to do it remotely using virt-install --connect=qemu+tcp://x.x.x.x/system, the following error appears: > > `--os-variant/--osinfo OS name is required, but no value was set or detected. snip > Is there a way to make it detect the operating system automatically when connected remotely? Operating system detection works by reading the PVD metadata from the header of the ISO image, and then matching values found against the libosinfo database entries. In a remote connection, virt-install can not directly read the ISO image headers, and thus cannot do OS detection. In theory we could enhance virt-install to use the libvirt storage pools to read the ISO image, but that needs someone todo the work.... With regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|