DOKK / manpages / debian 12 / lxd / lxd.init.1.en
LXD - Container server(1) LXD - Container server(1)

lxd-init - Configure the LXD daemon

lxd init [flags]

Description:
Configure the LXD daemon

--auto[=false] Automatic (non-interactive) mode

--dump[=false] Dump YAML config to stdout

--minimal[=false] Minimal configuration (non-interactive)

--network-address="" Address to bind LXD to (default: none)``

--network-port=-1 Port to bind LXD to (default: 8443)``

--preseed[=false] Pre-seed mode, expects YAML config from stdin

--storage-backend="" Storage backend to use (btrfs, dir, lvm or zfs, default: dir)``

--storage-create-device="" Setup device based storage using DEVICE``

--storage-create-loop=-1 Setup loop based storage with SIZE in GB``

--storage-pool="" Storage pool to use or create``

--trust-password="" Password required to add new clients``

-d, --debug[=false] Show all debug messages

-h, --help[=false] Print help

--logfile="" Path to the log file``

--syslog[=false] Log to syslog

--trace=[] Log tracing targets``

-v, --verbose[=false] Show all information messages

--version[=false] Print version number


init --minimal
init --auto [--network-address=IP] [--network-port=8443] [--storage-backend=dir]
[--storage-create-device=DEVICE] [--storage-create-loop=SIZE]
[--storage-pool=POOL] [--trust-password=PASSWORD]
init --preseed
init --dump

lxd(1)

5-May-2023 Auto generated by spf13/cobra

May 2023 Auto generated by spf13/cobra