diff options
author | Francisco Redondo Marchena <francisco.marchena@codethink.co.uk> | 2015-02-16 17:34:52 +0000 |
---|---|---|
committer | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2015-04-08 18:29:24 +0100 |
commit | de55c29c2bc48c322caebece69e53348effd8419 (patch) | |
tree | dfeefa78ebdb83d2c278744eed94d0e78e90f352 /openstack-cinder.configure | |
parent | c2abce4792de6c33a3be6d28eaef730bec4fe8c2 (diff) | |
download | definitions-de55c29c2bc48c322caebece69e53348effd8419.tar.gz |
Add sudoers files for cinder, nova and neutron on post-install time
Diffstat (limited to 'openstack-cinder.configure')
-rw-r--r-- | openstack-cinder.configure | 8 |
1 files changed, 0 insertions, 8 deletions
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 |