Quantcast
Channel: Ask OpenStack: Q&A Site for OpenStack Users and Developers - Individual question feed
Viewing all articles
Browse latest Browse all 5

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

$
0
0
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 description: List of static route destination on OAM side in CIDR notation. Below is the CloudConfig definition with runcmd. What I want to do is to pass the value of oam_stat_routes to shell script command /usr/local/bin/set_route as an argument. Wonder if this is possible. dns_network: type: OS::Heat::CloudConfig properties: cloud_config: runcmd: - /usr/local/bin/set_route oam_stat_routes

Viewing all articles
Browse latest Browse all 5

Trending Articles