[英]devstack - edit nova.conf file using local.conf file
I am using Devstack in my development environment. 我在开发环境中使用Devstack。
For adding some configuration entries in nova.conf file, we can use the code as follows: 为了在nova.conf文件中添加一些配置条目,我们可以使用如下代码:
[[post-config|$NOVA_CONF]]
[DEFAULT]
notification_driver=messagingv2
notification_topics=notifications,trackinstance
Now consider such entry is existing in nova.conf file. 现在考虑nova.conf文件中存在此类条目。
I need to edit the same now. 我现在需要编辑相同的内容。
Is there any default way available with devstack like post-config. devstack是否有任何默认方式(如post-config)可用。
Someone let me know the way for the same. 有人让我知道同样的方法。
I can be able to find the solution for the same. 我可以找到相同的解决方案。
Same post-config can be used for the same. 相同的post-config可以用于相同的配置。
When field exists already , It is simply update the field instead adding it. 当字段已经存在时,它只是更新字段而不是添加字段。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.