2013-07-29 03:56:33 +02:00
|
|
|
#!/usr/bin/python2
|
|
|
|
|
|
|
|
from __future__ import absolute_import
|
|
|
|
|
2015-11-07 19:04:51 +01:00
|
|
|
from qubes.storage.xen import XenStorage, XenPool
|
2015-11-07 18:58:49 +01:00
|
|
|
|
2013-07-29 03:56:33 +02:00
|
|
|
|
|
|
|
def apply(system_path, vm_files, defaults):
|
2015-11-07 19:04:51 +01:00
|
|
|
defaults['storage_class'] = XenStorage
|
2015-11-07 18:58:49 +01:00
|
|
|
defaults['pool_types'] = {'xen': XenPool}
|
2015-11-07 20:19:17 +01:00
|
|
|
defaults['pool_config'] = {'dir': '/var/lib/qubes/'}
|