1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-12-25 23:55:24 +00:00
This commit is contained in:
Anatoliy Guskov 2015-10-22 08:01:43 +03:00
parent 1e6d177bba
commit 2a3a33d746

View file

@ -193,8 +193,7 @@ class wvmCreate(wvmConnect):
xml += """<interface type='network'>""" xml += """<interface type='network'>"""
if mac: if mac:
xml += """<mac address='%s'/>""" % mac xml += """<mac address='%s'/>""" % mac
xml += """<source network='%s'/> xml += """<source network='%s'/>""" % net
<filterref filter='clean-traffic'/>""" % net
if virtio: if virtio:
xml += """<model type='virtio'/>""" xml += """<model type='virtio'/>"""
xml += """</interface>""" xml += """</interface>"""