解决安装devstack时从github下载代码速度过慢

将下载源从git://git.openstack.org改为 git://github.com

搜索

openstack4@openstack4-Tecal-RH1288-V2-8S:/opt/devstack$ grep -n -r "openstack.org"  ./stackrc
165:# Another option is https://git.openstack.org
166:GIT_BASE=${GIT_BASE:-git://git.openstack.org}
613:    IMAGE_URL="http://tarballs.openstack.org/trove/images/ubuntu/mysql.qcow2"
openstack4@openstack4-Tecal-RH1288-V2-8S:/opt/devstack$

修改

166:GIT_BASE=${GIT_BASE:-git://git.openstack.org} 将这一行的源地址改为git://github.com

猜你喜欢

转载自chenyingkof.iteye.com/blog/2248846