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

[Xen-devel] converting gatewaydev= from domU.cfg to libvirt.xml fails



How should this be converted?

/etc/init.d/boot.local
tap=xentap
tunctl -pt ${tap}
ip addr add 1.1.1.1/29 dev ${tap}
ip link set up dev ${tap}

domU.cfg
vif=[
'mac=00:16:3e:13:01:00,ip=1.1.1.2,type=vif,gatewaydev=xentap,script=vif-route'
]


The result from "convert-xml xen-xl domU,cfg" is:

    <interface type='ethernet'>
      <mac address='00:16:3e:13:01:00'/>
      <ip address='1.1.1.2' family='ipv4'/>
      <script path='vif-route'/>
    </interface>

gatewaydev= is missing, the guest will not start.

Olaf

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.