diff options
| author | Jenkins <jenkins@review.openstack.org> | 2015-03-20 00:58:05 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2015-03-20 00:58:05 +0000 |
| commit | e201fd5206b3912c8e333a87450b51845977a672 (patch) | |
| tree | d627a05e83b218b5e073a7e01e956a9996168261 /compose | |
| parent | 415c5e47476786ed0808264fb4d65c82bc9d40b9 (diff) | |
| parent | 0dc0cf1b9ec68f1b2d53187e53115214e7bf4a5b (diff) | |
| download | kolla-e201fd5206b3912c8e333a87450b51845977a672.tar.gz kolla-e201fd5206b3912c8e333a87450b51845977a672.zip | |
Merge "Check for root privilege in start.sh"
Diffstat (limited to 'compose')
| -rwxr-xr-x | compose/start.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/compose/start.sh b/compose/start.sh index 1de83a5c6..fde554fc3 100755 --- a/compose/start.sh +++ b/compose/start.sh @@ -6,6 +6,11 @@ # services are up. You will also need these in order to interact with the # installation once started. +if [[ $EUID -ne 0 ]]; then + echo "You must execute this script as root." 1>&2 + exit 1 +fi + # Set SELinux to permissive setenforce permissive |
