准备虚拟环境
- 在物理机上创建stack用户
sudo useradd stack
sudo passwd stack # specify a password
echo "stack ALL=(root) NOPASSWD:ALL" | sudo tee -a /etc/sudoers.d/stack
sudo chmod 0440 /etc/sudoers.d/stack
su - stack
配置yum源
a
安装instack-undercloud
sudo yum install instack-undercloud -y
配置instack环境变量
export NODE_DIST=centos7
export NODE_COUNT=9
export NODE_CPU=2
export NODE_MEM=6144
export NODE_DISK=40
export UNDERCLOUD_NODE_CPU=4
export UNDERCLOUD_NODE_MEM=16384
export UNDERCLOUD_NODE_DISK=50
export DIB_LOCAL_IMAGE=CentOS-7-x86_64-GenericCloud-1611.qcow2
部署虚拟环境
instack-virt-setup
当前内容版权归 UnitedStack 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 UnitedStack .