summaryrefslogtreecommitdiff
path: root/openstack-neutron.configure
diff options
context:
space:
mode:
authorFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2015-02-16 17:34:52 +0000
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-03-14 12:07:11 +0000
commit59bd33fc3b9fab49a23a97486cd833c9fa1dcb0b (patch)
treed1f0dcc66383b075e14d86fef5f3484c91bb7db6 /openstack-neutron.configure
parentfd3bbd2ec2f13692598e5e8a2ef8960b80b09b64 (diff)
downloaddefinitions-59bd33fc3b9fab49a23a97486cd833c9fa1dcb0b.tar.gz
Add sudoers files for cinder, nova and neutron on post-install time
Diffstat (limited to 'openstack-neutron.configure')
-rw-r--r--openstack-neutron.configure8
1 files changed, 0 insertions, 8 deletions
diff --git a/openstack-neutron.configure b/openstack-neutron.configure
index 5f5754a9..71b29713 100644
--- a/openstack-neutron.configure
+++ b/openstack-neutron.configure
@@ -57,11 +57,3 @@ for service in ${services[@]}; do
ln -sf "/etc/systemd/system/$service" \
"$ROOT/etc/systemd/system/multi-user.target.wants/$service"
done
-
-##########################################################################
-# Add neutron to sudoers controlling which commands is running as a root #
-# using the openstack rootwrap. #
-##########################################################################
-install -D -m 0440 /proc/self/fd/0 <<'EOF' "$ROOT"/etc/sudoers.d/neutron-rootwrap
-neutron ALL=(root) NOPASSWD: /usr/bin/neutron-rootwrap /etc/neutron/rootwrap.conf *
-EOF