Ensure sbin is in PATH.

Some distros (Debian) don't have sbin in PATH for non-root users.

Nova (and possibly other services) assumes that it can invoke "sysctl"
without sudo.

Change-Id: Iced21fc1378af309fb49688f9b63f2cd8383e304
Closes-Bug: #1300800
This commit is contained in:
Angus Lees
2014-07-21 15:35:34 +10:00
parent 2983291bd9
commit 7df9d1be17

View File

@@ -34,6 +34,9 @@ export LC_ALL
# Make sure umask is sane
umask 022
# Not all distros have sbin in PATH for regular users.
PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin
# Keep track of the devstack directory
TOP_DIR=$(cd $(dirname "$0") && pwd)