From 8ef4e992f101668e86a3ab5d29bdbe4f7da3cd1d Mon Sep 17 00:00:00 2001 From: Francisco Redondo Marchena Date: Mon, 16 Feb 2015 17:34:52 +0000 Subject: Add sudoers files for cinder, nova and neutron on post-install time --- openstack-neutron.configure | 8 -------- 1 file changed, 8 deletions(-) (limited to 'openstack-neutron.configure') 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 -- cgit v1.2.1