|
...
|
...
|
@@ -1818,7 +1818,7 @@ done
|
|
1818
|
1818
|
|
|
1819
|
1819
|
if [ "$VIRT_DRIVER" = 'xenserver' ]; then
|
|
1820
|
1820
|
read_password XENAPI_PASSWORD "ENTER A PASSWORD TO USE FOR XEN."
|
|
1821
|
|
- add_nova_opt "connection_type=xenapi"
|
|
|
1821
|
+ add_nova_opt "compute_driver=xenapi.XenAPIDriver"
|
|
1822
|
1822
|
XENAPI_CONNECTION_URL=${XENAPI_CONNECTION_URL:-"http://169.254.0.1"}
|
|
1823
|
1823
|
XENAPI_USER=${XENAPI_USER:-"root"}
|
|
1824
|
1824
|
add_nova_opt "xenapi_connection_url=$XENAPI_CONNECTION_URL"
|
|
...
|
...
|
@@ -1829,7 +1829,7 @@ if [ "$VIRT_DRIVER" = 'xenserver' ]; then
|
|
1829
|
1829
|
XEN_FIREWALL_DRIVER=${XEN_FIREWALL_DRIVER:-"nova.virt.firewall.IptablesFirewallDriver"}
|
|
1830
|
1830
|
add_nova_opt "firewall_driver=$XEN_FIREWALL_DRIVER"
|
|
1831
|
1831
|
else
|
|
1832
|
|
- add_nova_opt "connection_type=libvirt"
|
|
|
1832
|
+ add_nova_opt "compute_driver=libvirt.LibvirtDriver"
|
|
1833
|
1833
|
LIBVIRT_FIREWALL_DRIVER=${LIBVIRT_FIREWALL_DRIVER:-"nova.virt.libvirt.firewall.IptablesFirewallDriver"}
|
|
1834
|
1834
|
add_nova_opt "firewall_driver=$LIBVIRT_FIREWALL_DRIVER"
|
|
1835
|
1835
|
fi
|