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-21 14:46:23 +01:00
|
|
|
defaults['pool_drivers'] = {'xen': XenPool}
|
|
|
|
defaults['pool_config'] = {'dir_path': '/var/lib/qubes/'}
|