Quantcast
Channel: Ask OpenStack: Q&A Site for OpenStack Users and Developers - Individual question feed
Browsing latest articles
Browse All 5 View Live

Comment by zaneb for With below Heat statements under runcmd: - str_replace:...

Your indentation is incorrect. In JSON terms, you have `{"str_replace": null, "parameters": {...}, "template": ...}` instead of `{"str_replace": {"parameters": {...}, "template": ...}}`.

View Article



Answer by joon for I'd like to pass string type value read from environment...

With below Heat statements under runcmd: - str_replace: template: dns-statroute-eth0.sh %eth0_gateway% %oam_stat_routes% parameters: "%eth0_gateway%": { get_param: dns_oam_gateway }...

View Article

Comment by joon for Easy: dns_network: type: OS::Heat::CloudConfig...

Thanks a lot, Zaneb. Let me try that. Wonder if I can use the same statements with oam_stat_routes as comma delimited list type.

View Article

Answer by zaneb for I'd like to pass string type value read from environment...

Easy: dns_network: type: OS::Heat::CloudConfig properties: cloud_config: runcmd: - str_replace: template: /usr/local/bin/set_route %oam_stat_routes% parameters: "%oam_stat_routes%": {get_param:...

View Article

How to pass parameter value to runcmd in OS::Heat::CloudConfig resource.

I'd like to pass string type value read from environment file as an argument to runcmd in OS::Heat::CloudConfig. Below is parameter definition. oam_stat_routes: type: string label: oam_stat_routes...

View Article

Browsing latest articles
Browse All 5 View Live




Latest Images