Fix netvm creation from template

Missing netvms_conf_file parameter in template
This commit is contained in:
Marek Marczykowski 2011-03-16 13:38:16 -04:00
parent 1892bef66f
commit 379a5620c8

View File

@ -613,6 +613,7 @@ class QubesTemplateVm(QubesVm):
root_img = kwargs.pop("root_img") if "root_img" in kwargs else None root_img = kwargs.pop("root_img") if "root_img" in kwargs else None
private_img = kwargs.pop("private_img") if "private_img" in kwargs else None private_img = kwargs.pop("private_img") if "private_img" in kwargs else None
appvms_conf_file = kwargs.pop("appvms_conf_file") if "appvms_conf_file" in kwargs else None appvms_conf_file = kwargs.pop("appvms_conf_file") if "appvms_conf_file" in kwargs else None
netvms_conf_file = kwargs.pop("netvms_conf_file") if "netvms_conf_file" in kwargs else None
super(QubesTemplateVm, self).__init__(label = default_template_label, **kwargs) super(QubesTemplateVm, self).__init__(label = default_template_label, **kwargs)