Add vm-configs for WNI
This commit is contained in:
parent
ec37a4e681
commit
e2bea656b4
@ -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
vm-config/wni-vm-template-hvm.xml
Normal file
9
vm-config/wni-vm-template-hvm.xml
Normal file
@ -0,0 +1,9 @@
|
||||
<domain type='test'>
|
||||
<name>{name}</name>
|
||||
{uuidnode}
|
||||
<memory unit='MiB'>{maxmem}</memory>
|
||||
<os>
|
||||
<type>hvm</type>
|
||||
</os>
|
||||
</domain>
|
||||
|
9
vm-config/wni-vm-template.xml
Normal file
9
vm-config/wni-vm-template.xml
Normal file
@ -0,0 +1,9 @@
|
||||
<domain type='test'>
|
||||
<name>{name}</name>
|
||||
{uuidnode}
|
||||
<memory unit='MiB'>{maxmem}</memory>
|
||||
<os>
|
||||
<type>pv</type>
|
||||
</os>
|
||||
</domain>
|
||||
|
Loading…
Reference in New Issue
Block a user