Manage LXD images.
New in version 2019.2.0.
| maintainer: | René Jochum <rene@jochums.at> |
|---|---|
| maturity: | new |
| depends: | python-pylxd |
| platform: | Linux |
salt.states.lxd_image.absent(name, remote_addr=None, cert=None, key=None, verify_cert=True)¶An URL to a remote Server, you also have to give cert and key if you provide remote_addr!
PEM Formatted SSL Zertifikate.
PEM Formatted SSL Key.
salt.states.lxd_image.present(name, source, aliases=None, public=None, auto_update=None, remote_addr=None, cert=None, key=None, verify_cert=True)¶Ensure an image exists, copy it else from source
Source dict.
For an LXD to LXD copy:
source:
type: lxd
name: ubuntu/xenial/amd64 # This can also be a fingerprint.
remote_addr: https://images.linuxcontainers.org:8443
cert: ~/.config/lxd/client.crt
key: ~/.config/lxd/client.key
verify_cert: False
From file:
source:
type: file
filename: salt://lxd/files/busybox.tar.xz
saltenv: base
From simplestreams:
source:
type: simplestreams
server: https://cloud-images.ubuntu.com/releases
name: xenial/amd64
From an URL:
source:
type: url
url: https://dl.stgraber.org/lxd
An URL to a remote Server, you also have to give cert and key if you provide remote_addr!
PEM Formatted SSL Zertifikate.
PEM Formatted SSL Key.
Docs for previous releases are available on readthedocs.org.
Latest Salt release: 3004.1