qubes/vm: fix starting netvm

This commit is contained in:
Wojtek Porczyk 2016-01-21 15:33:54 +01:00
parent 6bc30b2e0b
commit e8bedcd7ba

View File

@ -273,7 +273,8 @@ class BaseVM(qubes.PropertyHolder):
interface = lxml.etree.Element('interface', type='ethernet') interface = lxml.etree.Element('interface', type='ethernet')
interface.append(lxml.etree.Element('mac', address=mac)) interface.append(lxml.etree.Element('mac', address=mac))
interface.append(lxml.etree.Element('ip', address=ip)) interface.append(lxml.etree.Element('ip', address=ip))
interface.append(lxml.etree.Element('domain', name=backend.name)) interface.append(lxml.etree.Element('backenddomain', name=backend.name))
interface.append(lxml.etree.Element('script', path="vif-route-qubes"))
return interface return interface