Browse code

Merge "XenAPI: enable root_helper_daemon for XenServer"

Jenkins authored on 2017/02/26 04:15:31
Showing 1 changed files
... ...
@@ -77,8 +77,11 @@ function neutron_plugin_configure_plugin_agent {
77 77
         # integration bridge.  This is enabled by using a root wrapper
78 78
         # that executes commands on dom0 via a XenAPI plugin.
79 79
         # XenAPI does not support daemon rootwrap now, so set root_helper_daemon empty
80
-        iniset "/$Q_PLUGIN_CONF_FILE.domU" agent root_helper "$Q_RR_DOM0_COMMAND"
81
-        iniset "/$Q_PLUGIN_CONF_FILE.domU" agent root_helper_daemon ""
80
+        iniset "/$Q_PLUGIN_CONF_FILE.domU" agent root_helper ""
81
+        iniset "/$Q_PLUGIN_CONF_FILE.domU" agent root_helper_daemon "xenapi_root_helper"
82
+        iniset "/$Q_PLUGIN_CONF_FILE.domU" xenapi connection_url "$XENAPI_CONNECTION_URL"
83
+        iniset "/$Q_PLUGIN_CONF_FILE.domU" xenapi connection_username "$XENAPI_USER"
84
+        iniset "/$Q_PLUGIN_CONF_FILE.domU" xenapi connection_password "$XENAPI_PASSWORD"
82 85
 
83 86
         # Disable minimize polling, so that it can always detect OVS and Port changes
84 87
         # This is a problem of xenserver + neutron, bug has been reported