diff options
| author | Swapnil Kulkarni <me@coolsvap.net> | 2015-07-13 07:11:27 +0000 |
|---|---|---|
| committer | Swapnil Kulkarni <me@coolsvap.net> | 2015-07-14 09:38:49 +0000 |
| commit | 1f0acbd0cd47c4872fd57189181e06dc2bd7891b (patch) | |
| tree | de5fe44978482eda85568c3b67688c9211784187 /tools/kolla | |
| parent | 69338a94ba0969241a8b669eba824956912d71c4 (diff) | |
| download | kolla-1f0acbd0cd47c4872fd57189181e06dc2bd7891b.tar.gz kolla-1f0acbd0cd47c4872fd57189181e06dc2bd7891b.zip | |
Update scripts to check if docker is usable for $USER
Added new script for checking user permissions on
docker command execution
Change-Id: I3b727590d9a29f416f5b847912b7250c555c2333
Closes-Bug: #1473554
Diffstat (limited to 'tools/kolla')
| -rwxr-xr-x | tools/kolla | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/kolla b/tools/kolla index ff05d108a..3f99c4b43 100755 --- a/tools/kolla +++ b/tools/kolla @@ -6,6 +6,8 @@ REAL_PATH=$(python -c "import os,sys;print os.path.realpath('$0')") cd "$(dirname "$REAL_PATH")/.." +. tools/validate-docker-execute + NETWORK_MANAGER=$(grep -sri NETWORK_MANAGER ./compose/openstack.env | cut -f2 -d'=') if [[ -z "$NETWORK_MANAGER" ]]; then echo 'No network manager defined in ./compose/openstack.env, defaulting to "neutron".' |
