Scroll to navigation

LXD - Container server(1) LXD - Container server(1)

NAME

lxd-init - Configure the LXD daemon

SYNOPSIS

lxd init [flags]

DESCRIPTION

Description:
Configure the LXD daemon

OPTIONS

--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 GiB``

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

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

OPTIONS INHERITED FROM PARENT COMMANDS

-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

EXAMPLE


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

SEE ALSO

lxd(1)

HISTORY

9-Aug-2024 Auto generated by spf13/cobra

Aug 2024 Auto generated by spf13/cobra