Environment variables¶
The LXD client and daemon respect some environment variables to adapt to the user’s environment and to turn some advanced features on and off.
Note
These environment variables are not available if you use the LXD snap.
Common¶
Name |
Description |
---|---|
|
The LXD data directory |
|
If set to true, allows all default Go ciphers both for client <-> server communication and server <-> image servers (server <-> server and clustering are not affected) |
|
List of paths to look into when resolving binaries |
|
Proxy server URL for HTTP |
|
Proxy server URL for HTTPS |
|
List of domains, IP addresses or CIDR ranges that don’t require the use of a proxy |
Client environment variable¶
Name |
Description |
---|---|
|
What text editor to use |
|
What text editor to use (if |
|
Path to the LXC configuration directory |
|
Path to the global LXC configuration directory |
|
Name of the remote to use (overrides configured default remote) |
Server environment variable¶
Name |
Description |
---|---|
|
Full path to the LXD binary (used when forking subcommands) |
|
Path to the LXC template configuration directory |
|
If set to |
|
If set to |
|
Path to an OVMF build including |
|
Path (or |
|
Disable idmapped mounts support (useful when testing traditional UID shifting) |
|
Path to be monitored by the device monitor. This is primarily for testing. |
|
Driver to be used for file system monitoring. This is primarily for testing. |