Code Review
/
daisy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
4536b5b
)
Fix yum repo error
01/60201/2
author
Alex Yang
<yangyang1@zte.com.cn>
Thu, 26 Jul 2018 07:21:30 +0000
(15:21 +0800)
committer
Alex Yang
<yangyang1@zte.com.cn>
Thu, 26 Jul 2018 08:41:06 +0000
(16:41 +0800)
See https://review.openstack.org/#/c/568180/
Change-Id: Ida065d7ac0ce00cf5c02be2a506a492c0f6123bd
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
tools/centos-img-modify.sh
patch
|
blob
|
history
diff --git
a/tools/centos-img-modify.sh
b/tools/centos-img-modify.sh
index
5a2df82
..
41c730c
100755
(executable)
--- a/
tools/centos-img-modify.sh
+++ b/
tools/centos-img-modify.sh
@@
-74,3
+74,6
@@
cd /etc
if [ ! -z $localtime_file ] && [ -f $localtime_file ]; then
ln -s -f $localtime_file /etc/localtime
fi
+
+# https://review.openstack.org/#/c/568180/
+test -e /etc/yum/vars/contentdir || echo centos > /etc/yum/vars/contentdir