openstack安装

参考链接:https://blog.51cto.com/search/user?uid=3735447&q=openstack

train源

wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo
curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
yum install -y mlocate lrzsz tree vim nc nmap wget bash-completion bash-completion-extras cowsay sl htop iotop iftop lsof net-tools sysstat unzip bc psmisc ntpdate wc telnet-server bind-utils sshpass
sed -i 's#keepcache=0#keepcache=1#g' /etc/yum.conf
yum clean all       
yum makecache
yum install centos-release-openstack-train -y

 安装packstack工具

yum install openstack-packstack -y

生成模板文件

packstack --gen-answer-file=openstack.txt

 

posted @ 2022-08-14 22:29  JH爱学习  阅读(137)  评论(0)    收藏  举报