[one-users] RAW section--can it be included in <devices></devices>?
Steven Timm
timm at fnal.gov
Tue Apr 1 07:39:59 PDT 2014
Thanks, Javier, I will give it a try.
Steve
On Tue, 1 Apr 2014, Javier Fontan wrote:
> You can add the devices section in that stanza, libvirt will mix both
> devices sections. For example:
>
> RAW=[
> TYPE="kvm",
> DATA="<devices>
> <serial type='pty'>
> <target port='0'/>
> </serial>
> <console type='pty'>
> <target type='serial' port='0'/>
> </console>
> </devices>"]
>
> On Tue, Apr 1, 2014 at 5:18 AM, Steven C Timm <timm at fnal.gov> wrote:
>> I would like to configure some OpenNebula VM's to have a serial console that
>> can be accessed via the "virsh console" command.
>>
>>
>>
>> The following xml works if it is inserted manually before the </devices>
>> tag in the deployment.0
>>
>>
>>
>> <serial type='pty'>
>>
>> <target port='0'/>
>>
>> </serial>
>>
>> <console type='pty'>
>>
>> <target type='serial' port='0'/>
>>
>> </console>
>>
>>
>>
>> But if I put it in the RAW section it ends up outside of the </devices> tag
>> at the very end of the xml. Is there any way to get the RAW section inside
>> the <devices></devices> section of the XML?
>>
>>
>>
>> Steve Timm
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>
>
>
> --
> Javier Fontán Muiños
> Developer
> OpenNebula - The Open Source Toolkit for Data Center Virtualization
> www.OpenNebula.org | @OpenNebula | github.com/jfontan
>
------------------------------------------------------------------
Steven C. Timm, Ph.D (630) 840-8525
timm at fnal.gov http://home.fnal.gov/~timm/
Fermilab Scientific Computing Division, Scientific Computing Services Quad.
Grid and Cloud Services Dept., Associate Dept. Head for Cloud Computing
More information about the Users
mailing list