Re: <qemu:commandline> ignored ?

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

 



On 5/15/23 19:07, lejeczek wrote:
> Hi guys.
> 
> I have a domain definition with this:
> ...
>   <qemu:commandline>
>     <qemu:arg value='-fw_cfg'/>
>     <qemu:arg
> value='name=opt/com.coreos/config,file=/00-VMs/oshift1node.ign'/>
>   </qemu:commandline>
> </domain>
> 
> at the bottom of xml.
> 'virsh' creates domain a okey but in VM I do not see ignition happened -
> it's fedora coreos - and when I dumpxml running domain, then indeed
> those bits, show above, are not there.
> 
> I'd grateful for any/all thoughts shared on - what is not/happening there.
> Is there something else which is a prerequisite to 'qemu:commandline'
> but if yes and I'm missing those, why would not then 'virsh' and/or
> 'virtqemud' say something?
> 
> many thanks, L.

No need for using <qemu:commandline/> as this is well configurable via
domain XML (for ~3 years):

https://libvirt.org/formatdomain.html#smbios-system-information

<sysinfo type='fwcfg'>
  <entry name='opt/com.example/name'>example value</entry>
  <entry name='opt/com.coreos/config' file='/tmp/provision.ign'/>
</sysinfo>

Michal




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

  Powered by Linux