Guest OS compatibilityΒΆ

The following operating systems (OS) were tested as virtual machine guest running on top of on LXD 5.21/stable. Each OS was tested by doing a manual installation using the official ISO as provided by the vendor.

OS vendor

OS version

OS support

LXD agent

VirtIO-SCSI

VirtIO-BLK

NVMe

CSM (BIOS)

UEFI

Secure Boot

CentOS

CentOS 6.10 [1]

EOL

❌ [2]

βœ…

❌ [6]

🟒

βœ…

❌

❌

CentOS

CentOS 7.9

EOL

❌ [2]

βœ…

🟒

🟒

🟒

βœ…

βœ…

CentOS

CentOS 8.5

EOL

βœ…

βœ…

🟒

🟒

🟒

βœ…

βœ…

CentOS

CentOS 8-Stream

EOL

βœ…

βœ…

🟒

🟒

🟒

βœ…

βœ…

CentOS

CentOS 9-Stream

Supported

βœ…

βœ…

🟒

🟒

🟒

βœ…

βœ…

Red Hat

RHEL 7.9

EOL

❌ [2]

βœ…

🟒

🟒

🟒

βœ…

βœ…

Red Hat

RHEL 8.10

Supported

βœ…

βœ…

🟒

🟒

🟒

βœ…

βœ…

Red Hat

RHEL 9.4

Supported

βœ…

βœ…

🟒

🟒

🟒

βœ…

βœ…

SUSE

SLES 12 SP5

Supported

βœ…

βœ…

🟒

🟒

🟒

βœ…

βœ…

SUSE

SLES 15 SP6

Supported

βœ…

βœ…

🟒

🟒

🟒

βœ…

βœ…

Ubuntu

14.04.6 LTS

EOL

❌ [7]

βœ…

🟒

🟒

🟒

βœ…

βœ…

Ubuntu

16.04.7 LTS

ESM

βœ… [8]

βœ…

🟒

🟒

🟒

βœ…

βœ…

Ubuntu

18.04.6 LTS

ESM

βœ…

βœ…

🟒

🟒

🟒

βœ…

βœ…

Ubuntu

20.04.6 LTS

Supported

βœ…

βœ…

🟒

🟒

🟒

βœ…

βœ…

Ubuntu

22.04.4 LTS

Supported

βœ…

βœ…

🟒

🟒

🟒

βœ…

βœ…

Ubuntu

24.04.1 LTS

Supported

βœ…

βœ…

🟒

🟒

🟒

βœ…

βœ…

Windows

Server 2012

Supported

βž–

βœ…

🟒

❌

🟒

βœ…

βœ…

Windows

Server 2016

Supported

βž–

βœ…

🟒

🟒 [3]

❌ [5]

βœ…

βœ…

Windows

Server 2019

Supported

βž–

βœ…

🟒

🟒

❌ [5]

βœ…

βœ…

Windows

Server 2022

Supported

βž–

βœ…

🟒

🟒

❌ [5]

βœ…

βœ…

Windows

10 22H2

Supported

βž–

βœ…

🟒

🟒

❌ [5]

βœ…

βœ…

Windows

11 23H2 [4]

Supported

βž–

βœ…

🟒

🟒

❌

βœ…

βœ…

Legend

Icon

recommended

βœ…

supported

🟒

not applicable

βž–

not supported

❌

NotesΒΆ

LXD agentΒΆ

The LXD agent provides the ability to execute commands inside of the virtual machine guest without relying on traditional access solution like secure shell (SSH) or Remote Desktop Protocol (RDP). This agent is only supported on Linux guests using systemd. For how to manually setup the agent, see Install the LXD agent into virtual machine instances.

CSM/BIOS bootΒΆ

lxc config set v1 security.secureboot=false
lxc config set v1 security.csm=true

Virtual TPMΒΆ

lxc config device add v1 vtpm tpm path=/dev/tpm0

VirtIO-BLK or NVMeΒΆ

lxc config device override v1 root io.bus=virtio-blk
# or
lxc config device override v1 root io.bus=nvme

Disconnect the ISOΒΆ

lxc config device remove v1 iso