salt.states.glance_image

Management of OpenStack Glance Images

New in version 2018.3.0.

depends

shade

configuration

see salt.modules.glanceng for setup instructions

Example States

create image:
  glance_image.present:
    - name: cirros
    - filename: cirros.raw
    - image_format: raw

delete image:
  glance_image.absent:
    - name: cirros

salt.states.glance_image.absent(name, auth=None)

Ensure image does not exist

name

Name of the image

salt.states.glance_image.present(name, auth=None, **kwargs)

Ensure image exists and is up-to-date

name

Name of the image

enabled

Boolean to control if image is enabled

description

An arbitrary description of the image

© 2021 SaltStack.
Licensed under the Apache License, Version 2.0.
https://docs.saltproject.io/en/latest/ref/states/all/salt.states.glance_image.html