Code Review
/
yardstick.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
combined
(merge:
0e8256a
892d2e5
)
Merge "Bugfix: load_images cleanup, shellcheck fixes"
author
Kubi
<jean.gaoliang@huawei.com>
Mon, 20 Mar 2017 01:13:06 +0000
(
01:13
+0000)
committer
Gerrit Code Review
<gerrit@opnfv.org>
Mon, 20 Mar 2017 01:13:06 +0000
(
01:13
+0000)
1
2
tests/ci/load_images.sh
patch
|
diff1
|
diff2
|
blob
|
history
diff --cc
tests/ci/load_images.sh
index
f81ee1b
,
0473937
..
b438e09
---
1
/
tests/ci/load_images.sh
---
2
/
tests/ci/load_images.sh
+++ b/
tests/ci/load_images.sh
@@@
-31,10
-31,10
+31,10
@@@
if [ "$INSTALLER_TYPE" == "fuel" ]; the
fi
UCA_HOST="cloud-images.ubuntu.com"
-if [ "${YARD_IMG_ARCH}"= "arm64" ]; then
+if [ "${YARD_IMG_ARCH}"
=
= "arm64" ]; then
export CLOUD_IMG_URL="http://${UCA_HOST}/${release}/current/${release}-server-cloudimg-${YARD_IMG_ARCH}.tar.gz"
if ! grep -q "Defaults env_keep += \"CLOUD_IMG_URL\"" "/etc/sudoers"; then
-
sudo echo "Defaults env_keep += \"CLOUD_IMG_URL\"" >>
/etc/sudoers
+
echo "Defaults env_keep += \"CLOUD_IMG_URL\"" | sudo tee -a
/etc/sudoers
fi
fi