summaryrefslogtreecommitdiff
path: root/openstack-nova.configure
diff options
context:
space:
mode:
authorFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2015-02-16 17:34:52 +0000
committerFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2015-02-16 17:34:52 +0000
commita1e72580acc64d771ca275b7ccbdce20869f4d4e (patch)
tree919c739d3806b3f7a70391a1bc130b941adf8b94 /openstack-nova.configure
parentbff80de680dd2db375b09a073443975f32a63b51 (diff)
downloaddefinitions-a1e72580acc64d771ca275b7ccbdce20869f4d4e.tar.gz
Add sudoers files for cinder, nova and neutron on post-install time
Diffstat (limited to 'openstack-nova.configure')
-rw-r--r--openstack-nova.configure8
1 files changed, 0 insertions, 8 deletions
diff --git a/openstack-nova.configure b/openstack-nova.configure
index efa6eb11..4655342c 100644
--- a/openstack-nova.configure
+++ b/openstack-nova.configure
@@ -64,11 +64,3 @@ ln -sf ../libvirt-guests.service "$wants_dir/libvirt-guests.service"
sed -i "s/192\.168\.122\./192\.168\.1\./g" \
"$ROOT"/etc/libvirt/qemu/networks/default.xml
-
-##########################################################################
-# Add nova 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/nova-rootwrap
-nova ALL=(root) NOPASSWD: /usr/bin/nova-rootwrap /etc/nova/rootwrap.conf *
-EOF