Merge "libvirt: Fix unsupported 'parallels' virt type"
This commit is contained in:
commit
e9842dd91b
@ -30,7 +30,7 @@ LOG = logging.getLogger(__name__)
|
|||||||
OPTS = [
|
OPTS = [
|
||||||
cfg.StrOpt('libvirt_type',
|
cfg.StrOpt('libvirt_type',
|
||||||
default='kvm',
|
default='kvm',
|
||||||
choices=['kvm', 'lxc', 'qemu', 'uml'],
|
choices=['kvm', 'lxc', 'qemu', 'parallels', 'uml'],
|
||||||
help='Libvirt domain type.'),
|
help='Libvirt domain type.'),
|
||||||
cfg.StrOpt('libvirt_uri',
|
cfg.StrOpt('libvirt_uri',
|
||||||
default='',
|
default='',
|
||||||
@ -38,7 +38,10 @@ OPTS = [
|
|||||||
'(which is dependent on libvirt_type).'),
|
'(which is dependent on libvirt_type).'),
|
||||||
]
|
]
|
||||||
|
|
||||||
LIBVIRT_PER_TYPE_URIS = dict(uml='uml:///system', lxc='lxc:///')
|
LIBVIRT_PER_TYPE_URIS = dict(
|
||||||
|
uml='uml:///system',
|
||||||
|
parallels='parallels:///system',
|
||||||
|
lxc='lxc:///')
|
||||||
|
|
||||||
|
|
||||||
# We don't use the libvirt constants in case of libvirt is not available
|
# We don't use the libvirt constants in case of libvirt is not available
|
||||||
|
@ -0,0 +1,4 @@
|
|||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
The ``[DEFAULT] virt_type`` option now supports ``parallels``.
|
Loading…
x
Reference in New Issue
Block a user