Re: List of valid arch's for virt-install

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 12/13/24 2:18 AM, Andrea Bolognani wrote:
> On Wed, Dec 11, 2024 at 08:32:55PM -0800, Connor Kuehl wrote:
>> On 12/11/24 7:43 AM, Jeffrey Walton wrote:
>>> The man page for virt-install [1] does not list valid arch's. (I can't
>>> find a page for virt-install at libvirt.org).
>>> Where can I find the list of valid arch's for virt-install?
>>
>> Hmm, yeah, it seems the --arch argument doesn't support the usual method
>> for enumerating possible values (which to be fair, the man page says *some*
>> suboptions support that):
>>
>>   $ virt-install --arch=?
>>   ERROR    Host does not support any virtualization options for architecture '?'
>>
>> I think something like this is a reasonable fallback:
>>
>>   $ virsh capabilities | xmllint --xpath '//arch/@name' -
> 
> Or
> 
>   $ virsh capabilities --xpath '//arch/@name'
> 
> even ;)

Cool! TIL. My distro version must be too old but I'll keep that one in
mind.

  $ virsh capabilities --xpath '//arch/@name'
  error: command 'capabilities' doesn't support option --xpath

--
Connor



[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux