devstack源码分析
2013-08-19 15:59
302 查看
# Additional repos # ================ # Some distros need to add repos beyond the defaults provided by the vendor # to pick up required packages. # The Debian Wheezy official repositories do not contain all required packages, # add gplhost repository. if [[ "$os_VENDOR" =~ (Debian) ]]; then echo 'deb http://archive.gplhost.com/debian grizzly main' | sudo tee /etc/apt/sources.list.d/gplhost_wheezy-backports.list echo 'deb http://archive.gplhost.com/debian grizzly-backports main' | sudo tee -a /etc/apt/sources.list.d/gplhost_wheezy-backports.list apt_get update apt_get install --force-yes gplhost-archive-keyring fi if [[ is_fedora && $DISTRO =~ (rhel6) ]]; then # Installing Open vSwitch on RHEL6 requires enabling the RDO repo. RHEL6_RDO_REPO_RPM=${RHEL6_RDO_REPO_RPM:-"http://rdo.fedorapeople.org/openstack/openstack-grizzly/rdo-release-grizzly-3.noarch.rpm"} RHEL6_RDO_REPO_ID=${RHEL6_RDO_REPO_ID:-"openstack-grizzly"} if ! yum repolist enabled $RHEL6_RDO_REPO_ID | grep -q $RHEL6_RDO_REPO_ID; then echo "RDO repo not detected; installing" yum_install $RHEL6_RDO_REPO_RPM || \ die $LINENO "Error installing RDO repo, cannot continue" fi # RHEL6 requires EPEL for many Open Stack dependencies RHEL6_EPEL_RPM=${RHEL6_EPEL_RPM:-"http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm"} if ! yum repolist enabled epel | grep -q 'epel'; then echo "EPEL not detected; installing" yum_install ${RHEL6_EPEL_RPM} || \ die $LINENO "Error installing EPEL repo, cannot continue" fi fi
相关文章推荐
- devstack源码分析
- Neutron中关于Devstack的源码分析
- 第二人生的源码分析(九十六)LLMenuItemGL实现菜单的显示
- Modultils工具源码分析之insmod篇 (2)
- [gevent源码分析] 深度分析gevent运行流程
- 【安卓】从源码的角度深入分析Scroller
- LinkedList源码分析
- 从源码上分析Android View保存数据状态
- 第二人生的源码分析(九十七)LLSlider实现音量滑动条
- tomcat 4.1.30启动过程的源码分析
- RapidMiner studio之MainFrame源码分析
- JQuery源码分析(六)
- springMVC源码分析--AbstractControllerUrlHandlerMapping(六)
- zookeeper实战与源码分析----用ZooKeeper封装自己的客户端工具
- live555 源码分析: PLAY 的处理
- Android IPC 通讯机制源码分析 (二)
- Appium源码分析(六)-find(上)
- springMVC源码分析--BeanNameUrlHandlerMapping(七)
- Linux内核初始化过程的源码分析疑点记录+好书推荐(附下载)
- Struts2请求处理流程及源码分析