Manage LXD profiles.
New in version 2019.2.0.
| maintainer: | René Jochum <rene@jochums.at> |
|---|---|
| maturity: | new |
| depends: | python-pylxd |
| platform: | Linux |
salt.states.lxd.authenticate(name, remote_addr, password, cert, key, verify_cert=True)¶Authenticate with a remote peer.
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.config_managed(name, value, force_password=False)¶Manage a LXD Server config setting.
Set this to True if you want to set the password on every run.
As we can't retrieve the password from LXD we can't check if the current one is the same as the given one.
salt.states.lxd.init(name, storage_backend='dir', trust_password=None, network_address=None, network_port=None, storage_create_device=None, storage_create_loop=None, storage_pool=None, done_file='%SALT_CONFIG_DIR%/lxd_initialized')¶Initializes the LXD Daemon, as LXD doesn't tell if its initialized we touch the done_file and check if it exist.
This can only be called once per host unless you remove the done_file.
Docs for previous releases are available on readthedocs.org.
Latest Salt release: 3004.1