Browse Source

Add vm-configs for WNI

Marek Marczykowski-Górecki 10 years ago
parent
commit
e2bea656b4

+ 2 - 0
core/settings-wni-Windows_NT.py

@@ -6,5 +6,7 @@ from qubes.storage.wni import QubesWniVmStorage
 
 def apply(system_path, vm_files, defaults):
     system_path['qubes_base_dir'] = 'c:\\qubes'
+    system_path['config_template_pv'] = 'c:/program files/Invisible Things Lab/Qubes/vm-template.xml'
+    system_path['config_template_hvm'] = 'c:/program files/Invisible Things Lab/Qubes/vm-template-hvm.xml'
     defaults['libvirt_uri'] = 'test:///default'
     defaults['storage_class'] = QubesWniVmStorage

+ 9 - 0
vm-config/wni-vm-template-hvm.xml

@@ -0,0 +1,9 @@
+<domain type='test'>
+  <name>{name}</name>
+  {uuidnode}
+  <memory unit='MiB'>{maxmem}</memory>
+  <os>
+    <type>hvm</type>
+  </os>
+</domain>
+

+ 9 - 0
vm-config/wni-vm-template.xml

@@ -0,0 +1,9 @@
+<domain type='test'>
+  <name>{name}</name>
+  {uuidnode}
+  <memory unit='MiB'>{maxmem}</memory>
+  <os>
+    <type>pv</type>
+  </os>
+</domain>
+