As part of an ongoing effort to apply more testing against elements, this patch provides fixes for most dib-lint failures outside of the set -o pipefail patch[1] including set options, indention, and file permissions. There are still a few indention errors left after this patch, but they should be ignored in a dib-lint patch soon to add additional exclusions. [1] Ib97e3a35dd0ee653f1298c9ffe6ea99cea9dfd55 Change-Id: Ibf3dfc5735752900598466b0a54342692ef77284
13 lines
230 B
Bash
Executable File
13 lines
230 B
Bash
Executable File
#!/bin/bash
|
|
# Initialize devstack in the bootstrap image
|
|
|
|
set -eu
|
|
set -o xtrace
|
|
|
|
install-packages git
|
|
if [ -n "$http_proxy" ]; then
|
|
sudo -Hiu stack git config --global http.proxy $http_proxy
|
|
fi
|
|
|
|
chown -R stack ~stack/devstack
|