Metadata to image or flavor

asked 2017-07-25 18:48:15 -0600

camon gravatar image


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?

edit retag flag offensive close merge delete