in dhcp_agent, always use quantum.conf root_helper
Fixes bug #1178003. For the most part, the dhcp agent uses the root_helper setting from the [AGENT] section of /etc/quantum/quantum.conf. However, in a couple of spots, the root_helper setting from the [DEFAULT] section of /etc/quantum/dhcp_agent.ini was being used. Change-Id: Id2f3140374a705cf7a0d2a784e4f321cc54f602e
This commit is contained in:
@@ -323,7 +323,7 @@ class DhcpAgent(manager.Manager):
|
||||
pm = external_process.ProcessManager(
|
||||
self.conf,
|
||||
network.id,
|
||||
self.conf.root_helper,
|
||||
self.root_helper,
|
||||
self._ns_name(network))
|
||||
pm.enable(callback)
|
||||
|
||||
@@ -331,7 +331,7 @@ class DhcpAgent(manager.Manager):
|
||||
pm = external_process.ProcessManager(
|
||||
self.conf,
|
||||
network.id,
|
||||
self.conf.root_helper,
|
||||
self.root_helper,
|
||||
self._ns_name(network))
|
||||
pm.disable()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user