1 Star 1 Fork 3

blue/falcon

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
installv2.sh 1.53 KB
一键复制 编辑 原始数据 按行查看 历史
blue 提交于 2021-02-23 10:03 . Update installv2.sh
#!/bin/bash
#Basic enviroment set
set -x
TOP_DIR=$(cd $(dirname "$0") && pwd)
source $TOP_DIR/common
GetOSVersion
if [[ "$os_VENDOR" =~ (Ubuntu) ]]; then
echo "OS vendor is Ubutu" $os_RELEASE
elif [[ "$os_VENDOR" =~ (CentOS) ]]; then
echo "OS Vendor is Centos" $os_RELEASE
else
echo "Not support this os vendor"
exit 0
fi
init_lib_common
source $TOP_DIR/functions
function_main()
{
env_set
install_chrony
install_openstack_pkg
#First install controller ,then check whether need to install compute
if [ $controller -eq 1 ] ; then
install_mariadb
install_memcache
install_rabbitmq
install_etcd
install_keystone
install_glance
install_controller_nova
install_controller_neutron
install_dashboard
echo "=====Install Successfully within a control node====="
echo "Your dashborad address:http://$HOST_IP/dashboard/"
echo "Doamin:Default"
echo "User name:admin"
echo "Password:$PASSWORD"
fi
#IF in allinone mode ,we install control modules before this
if [ $compute -eq 1 ] ; then
install_compute_nova
install_compute_neutron
fi
#notify the state of installation
if [ $controller -eq 1 ] ; then
echo "=====Install Successfully within a control node====="
echo "Your dashborad address:http://$HOST_IP/dashboard/"
echo "Doamin:Default"
echo "User name:admin"
echo "Password:$PASSWORD"
fi
}
#call main
function_main
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/blueGitRepo/falcon.git
[email protected]:blueGitRepo/falcon.git
blueGitRepo
falcon
falcon
main

搜索帮助