Manage LXD profiles.
New in version 2019.2.0.
René Jochum <rene@jochums.at>
new
python-pylxd
Linux
Authenticate with a remote peer.
An URL to a remote Server, you also have to give cert and key if you provide remote_addr!
https://myserver.lan:8443 /var/lib/mysocket.sock
The PaSsW0rD
PEM Formatted SSL Zertifikate.
/root/.config/lxc/client.crt
PEM Formatted SSL Key.
/root/.config/lxc/client.key
Wherever to verify the cert, this is by default True but in the most cases you want to set it off as LXD normally uses self-signed certificates.
Ignore this. This is just here for salt.
Manage a LXD Server config setting.
The name of the config key.
Its value.
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.
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.
Ignore this. This is just here for salt.
Storage backend to use (zfs or dir, default: dir)
Password required to add new clients
Address to bind LXD to (default: none)
Port to bind LXD to (Default: 8443)
Setup device based storage using this DEVICE
Setup loop based storage with this SIZE in GB
Storage pool to use or create
Path where we check that this method has been called, as it can run only once and there's currently no way to ask LXD if init has been called.