Fixes bug
1142133
Change-Id: I0dc02c96efa8d5f8ab693480e510dbbefcc6a674
# Allow overlapping IP (Must have kernel build with CONFIG_NET_NS=y and
# iproute2 package that supports namespaces).
# use_namespaces = True
+
+# The user group
+# user_group = nogroup
cfg.StrOpt(
'interface_driver',
help=_('The driver used to manage the virtual interface')
- )
+ ),
+ cfg.StrOpt(
+ 'user_group',
+ default='nogroup',
+ help=_('The user group'),
+ ),
]
import itertools
+from oslo.config import cfg
+
from quantum.agent.linux import utils
from quantum.plugins.common import constants as qconstants
from quantum.plugins.services.agent_loadbalancer import constants
opts = [
'daemon',
'user nobody',
- 'group nogroup',
+ 'group %s' % cfg.CONF.user_group,
'log /dev/log local0',
'log /dev/log local1 notice'
]