diff options
| author | Jeffrey Zhang <zhang.lei.fly@gmail.com> | 2016-12-23 01:05:57 +0800 |
|---|---|---|
| committer | Jeffrey Zhang <zhang.lei.fly@gmail.com> | 2016-12-23 01:09:36 +0800 |
| commit | 35338089046188419a43d37d60399d0968c693b5 (patch) | |
| tree | 2146d6264165e2930640f37335862fcdcf56e95a /tools | |
| parent | b25bd5c04b6e849183a4257630dea86e0944b022 (diff) | |
| download | kolla-35338089046188419a43d37d60399d0968c693b5.tar.gz kolla-35338089046188419a43d37d60399d0968c693b5.zip | |
Run sudo with -H parameter to set the proper home dir
Change-Id: Ib273f50bd7fb889e0025f58c11dd89f39ca8e4ca
Closes-Bug: #1652112
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/setup_gate.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/setup_gate.sh b/tools/setup_gate.sh index 595a24956..178f34309 100755 --- a/tools/setup_gate.sh +++ b/tools/setup_gate.sh @@ -126,7 +126,7 @@ function setup_ansible { # Record the running state of the environment as seen by the setup module ansible all -i ${RAW_INVENTORY} -m setup > /tmp/logs/ansible/initial-setup - sudo pip install ara + sudo -H pip install ara sudo mkdir /etc/ansible sudo tee /etc/ansible/ansible.cfg<<EOF [defaults] |
