From 59bd33fc3b9fab49a23a97486cd833c9fa1dcb0b 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-nova.configure | 8 -------- 1 file changed, 8 deletions(-) (limited to 'openstack-nova.configure') 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 -- cgit v1.2.1