search for: xml_format

Displaying 7 results from an estimated 7 matches for "xml_format".

Did you mean: gl_format
2006 Jul 31
2
is it possible to make to_xml use underscore instead of dash?
Hi all, I am getting ActiveRecord to produce XML with render :xml => @user.to_xml However, on the client end it is a bit annoying for me to deal with attributes like first-name. I would much rather have first_name. Is there any way for me to turn off the behavior of converting _ to -? This seems to be done by a call to dasherize inside the to_xml of
2015 Oct 30
2
Creating network interfaces with specific name in LXC
...='blah'> <source network='dpbr_n_0'/> </interface> This doesn't seem to work; it always ends up creating interface with name as "eth0". I found some examples here: http://libvirt.org/guide/html/Application_Development_Guide-Network_Interfaces-XML_Format.html That uses interface type as "ethernet" and specifies name also, If I do that, I get back an error while starting the container as "Unsupported network type ethernet". Appreciate your help. Regards, Harish
2015 Oct 30
2
Re: Creating network interfaces with specific name in LXC
...; and what does each option > mean. > > This doesn't seem to work; it always ends up creating interface with name >> as "eth0". >> >> I found some examples here: >> >> http://libvirt.org/guide/html/Application_Development_Guide-Network_Interfaces-XML_Format.html >> >> That uses interface type as "ethernet" and specifies name also, If I do >> that, I get back an error while starting the container as "Unsupported >> network type ethernet". >> >> Appreciate your help. >> >> Regards, >...
2015 Oct 30
0
Re: Creating network interfaces with specific name in LXC
...you can configure in <interface/> and what does each option mean. >This doesn't seem to work; it always ends up creating interface with name >as "eth0". > >I found some examples here: >http://libvirt.org/guide/html/Application_Development_Guide-Network_Interfaces-XML_Format.html > >That uses interface type as "ethernet" and specifies name also, If I do >that, I get back an error while starting the container as "Unsupported >network type ethernet". > >Appreciate your help. > >Regards, >Harish >_________________________...
2015 Nov 02
0
Re: Creating network interfaces with specific name in LXC
...> mean. >> >> This doesn't seem to work; it always ends up creating interface with name >>> as "eth0". >>> >>> I found some examples here: >>> >>> http://libvirt.org/guide/html/Application_Development_Guide-Network_Interfaces-XML_Format.html >>> >>> That uses interface type as "ethernet" and specifies name also, If I do >>> that, I get back an error while starting the container as "Unsupported >>> network type ethernet". >>> >>> Appreciate your help. >&gt...
2013 Oct 06
1
Re: Automatically assign static ipv4 via dhcp to new VMs (Tim)
...;dhcp> <range start="192.168.122.100" end="192.168.122.254" /> <host mac="00:16:3e:e2:ed" name="foo.example.com" ip="192.168.122.10" /> </dhcp> </ip> ... See : http://wiki.libvirt.org/page/VirtualNetworking#XML_format On 05/10/13 20:50, libvirt-users-request@redhat.com wrote: > 1. Automatically assign static ipv4 via dhcp to new VMs (Tim) > Subject: [libvirt-users] Automatically assign static ipv4 via dhcp to > new VMs > Message-ID: <524EE851.2010009@online-mail.biz> > Content-Type: t...
2006 Mar 14
21
Changing default date format in Rails
I''ve spent all day digging through the rails api and postgres-pr on this, I think it''s time to ask the list. Postgres stores a Date in YYYY-MM-DD format. My users want the dates in MM/DD/YYYY format. Sure, I could explicitly convert it on the app level every place where a date is displayed, but that seemed like a DRY violation. I thought I''d be clever and simply