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-cinder.configure | 8 -------- 1 file changed, 8 deletions(-) (limited to 'openstack-cinder.configure') diff --git a/openstack-cinder.configure b/openstack-cinder.configure index 335ff512..a32ee3be 100644 --- a/openstack-cinder.configure +++ b/openstack-cinder.configure @@ -45,11 +45,3 @@ sed -f "$ROOT"/etc/openstack-cinder-setup.sed -i \ ln -sf "/etc/systemd/system/openstack-cinder-setup.service" \ "$ROOT/etc/systemd/system/multi-user.target.wants/openstack-cinder-setup.service" - -########################################################################## -# Add cinder 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/cinder-rootwrap -cinder ALL=(root) NOPASSWD: /usr/bin/cinder-rootwrap /etc/cinder/rootwrap.conf * -EOF -- cgit v1.2.1