Merge "libvirt plugin "parallels" support"
This commit is contained in:
commit
7adfe91ca6
@ -129,6 +129,9 @@ function configure_glance {
|
||||
iniset $GLANCE_API_CONF DEFAULT container_formats "ami,ari,aki,bare,ovf,tgz"
|
||||
iniset $GLANCE_API_CONF DEFAULT disk_formats "ami,ari,aki,vhd,raw,iso"
|
||||
fi
|
||||
if [ "$VIRT_DRIVER" = 'libvirt' ] && [ "$LIBVIRT_TYPE" = 'parallels' ]; then
|
||||
iniset $GLANCE_API_CONF DEFAULT disk_formats "ami,ari,aki,vhd,vmdk,raw,qcow2,vdi,iso,ploop"
|
||||
fi
|
||||
|
||||
# Store specific configs
|
||||
iniset $GLANCE_API_CONF DEFAULT filesystem_store_datadir $GLANCE_IMAGE_DIR/
|
||||
|
@ -64,6 +64,11 @@ function configure_nova_hypervisor {
|
||||
# disable it here for now to avoid surprises later.
|
||||
iniset $NOVA_CONF libvirt inject_partition '-2'
|
||||
fi
|
||||
|
||||
if [[ "$LIBVIRT_TYPE" = "parallels" ]]; then
|
||||
iniset $NOVA_CONF libvirt connection_uri "parallels+unix:///system"
|
||||
iniset $NOVA_CONF libvirt images_type "ploop"
|
||||
fi
|
||||
}
|
||||
|
||||
# install_nova_hypervisor() - Install external components
|
||||
|
Loading…
Reference in New Issue
Block a user