Add Cinder to ROOTWRAP_SUDOERS
* Perform operations in lib/cinder
* Use specific cidner-rootwrap file
* Add root_helper to cinder.conf
Change-Id: Ibcae8bae2d06c9cbb4c41c39791e8dbdc8bbb0ac
diff --git a/stack.sh b/stack.sh
index 5d4ce9f..d0e2262 100755
--- a/stack.sh
+++ b/stack.sh
@@ -1225,7 +1225,7 @@
ROOTWRAP_SUDOER_CMD="$NOVA_ROOTWRAP *"
fi
-# Set up the rootwrap sudoers
+# Set up the rootwrap sudoers for nova
TEMPFILE=`mktemp`
echo "$USER ALL=(root) NOPASSWD: $ROOTWRAP_SUDOER_CMD" >$TEMPFILE
chmod 0440 $TEMPFILE
@@ -1495,7 +1495,7 @@
if is_service_enabled swift3;then
swift_auth_server="s3token "
fi
-
+
# By default Swift will be installed with the tempauth middleware
# which has some default username and password if you have
# configured keystone it will checkout the directory.