The LXD execution Module is the base of the LXD formula and we have designed it to let you run everthing the formula does over salt/salt-call.
We first made the execution module and then the states and formula around it.
See the lxd-formula README.
- remote_addr :
An URL to a remote Server, you also have to give cert and key if you provide remote_addr and its a TCP Address!
- Examples:
- https://myserver.lan:8443
- /var/lib/mysocket.sock
- cert :
PEM Formatted SSL Zertifikate.
Example:
- ~/.config/lxc/client.crt
- key :
PEM Formatted SSL Key.
- Example:
- ~/.config/lxc/client.key
- verify_cert : True
- Wherever to verify the cert, this is by default True but in the most cases you want to set it off as LXD normaly uses self-signed certificates.
See the requests-docs for the SSL stuff.
The LXD Module is well documented, we don't want to copy its docs here to not have desync errors.