从 local.conf 将新配置应用到 devstack [英] Apply new configuration to devstack from local.conf

查看:86
本文介绍了从 local.conf 将新配置应用到 devstack的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我在/devstack 文件夹中的 local.conf 文件中设置了几个设置,例如:

If I set a couple of settings in my local.conf file in the /devstack folder for example:

ADMIN_PASSWORD=supersecret  
DATABASE_PASSWORD=iheartdatabases  
RABBIT_PASSWORD=flopsymopsy  
SERVICE_PASSWORD=iheartksl

然后运行

./stack.sh

但后来想在这个文件中附加一些网络配置,例如:

but then later want to append this file with some network configurations for example:

FLOATING_RANGE=192.168.1.224/27  
FIXED_RANGE=10.11.12.0/24  
FIXED_NETWORK_SIZE=256  
FLAT_INTERFACE=eth0

当我运行 ./unstack.sh 然后运行 ​​./stack.sh 时,这些新设置会应用到云吗?

will those new setting be applied to the cloud when I run ./unstack.sh and then ./stack.sh?

推荐答案

unstack script 停止所有云环境

unstack script stops all your cloud environment

堆栈脚本将从头开始重新配置和构建云.

stack script will reconfigure and build cloud from scratch.

如果你有问题,有 clean.sh 脚本,它会破坏所有创建的东西.

If you have problems there is clean.sh script, that destroys every thing that was created.

在你的情况下:

./unstack.sh && ./stack.sh 

这篇关于从 local.conf 将新配置应用到 devstack的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆