LXD

  • By The LXD Charm
Channel Revision Published Runs on
latest/stable 605 22 Apr 2024
Ubuntu 20.04
latest/edge 625 Yesterday
Ubuntu 20.04
juju deploy lxd
Show information

Platform:

Ubuntu
20.04

Learn about actions >

  • add-trusted-client

    The client certificate to add to the trusted list

    Params
    • cert string

      The raw X.509 PEM client certificate (required if cert-url isn't set). -----BEGIN CERTIFICATE----- <Client cert in PEM format to add to trust> -----END CERTIFICATE----- Pass the file with the certificate above as: $ juju run --wait=2m lxd/leader add-trusted-client cert="$(cat client.crt)"

    • cert-url string

      The HTTP/HTTPS URL to fetch the client certificate from (required if cert isn’t set)

    • name string

      The user-specified identifier (optional)

    • projects string

      A comma separated list of projects to restrict the client certificate to (optional)

  • debug

    Collect useful information for bug reports (calls lxd.buginfo)

  • get-client-token

    Return a client certificate add token to use by the client as lxc remote add <remote-name> <token>

    Params
    • name string

      The user-specified identifier (optional)

    • projects string

      A comma separated list of projects to restrict the client certificate to (optional)

  • remove-trusted-client

    The client certificate fingerprint (SHA256) to remove from the trusted list

    Params
    • fingerprint string

      The fingerprint of the X.509 PEM client certificate. This will automatically ignore openssl's unneeded prefix (sha256 Fingerprint=) and extract the fingerprint. $ juju run --wait=2m lxd/leader remove-trusted-client fingerprint="$(openssl x509 -noout -fingerprint -sha256 -in client.crt)"

  • show-pending-config

    Show the currently pending configuration changes (queued for after the reboot)