camon's profile - activity

2017-07-27 13:19:40 -0500 asked a question Metadata to image or flavor

Hello,

Apologies for the dumb question I'm rather new to Openstack. In our environment we are running saltstack and salt uses a configuration file on an instance to set specific grains for configuration/deployment.

I have setup metadata that I can apply to an instance when I am launching it that a script cloud-init runs calls to load that data into the configuration file.

What I want to know is it possible to assign this metadata to an image or flavor so that an end user spawning an instance will not need to specify the metadata each time they spawn a new instance, just select the specific flavor or image and have that configuration?