Weekly news #383

Weekly status for the week of 10th February to 16th February.

Introduction

This past week, LXD received several bug fixes and new features. The highlight is added support for injecting additional public SSH keys into instances.

Thanks to all the contributors.

Injection of additional SSH keys into instances

You can now configure additional public SSH keys for a user using the cloud-init.ssh-keys.<keyname> instance option. The <keyname> is an arbitrary key name, and the value must follow the format <user>:<ssh-public-key>. These keys are merged into the existing cloud-init seed data before being injected into an instance, ensuring no disruption to the current cloud-init configuration.

For example, use the following command to configure a public SSH key for the ubuntu user:

lxc config set cloud-init.ssh-keys.my-key "ubuntu:ssh-ed25519 ..."

Documentation: Instance options - cloud-init configuration

Default profile configuration on project create

LXD now allows creating a new project while configuring the default profile with a network and a storage pool to use for the instances.

lxc project create my-proj --network lxdbr0 --storage default

# Verify default profile configuration.
lxc profile show default --project my-proj

Bug Fixes

  • Fixed an issue where volumes with a hyphen in their name failed to detach due to mismatched device names during removal, primarely affecting the LVM storage driver.

  • Fixed an issue where LXD failed to populate reverse DNS records in OVN, preventing reverse DNS lookups for instance names.

  • Improved validation of server configuration options storage.backups_volume and storage.images_volume to ensure only shared-access remote storage volumes can be used.

  • Made OIDC scopes configurable via oidc.scopes to support more OIDC providers. However, scopes email and openid are required and cannot be omitted.

All changes

The items listed below is all of the work which happened over the past week and which will be included in the next release.

LXD

LXD UI

LXD Charm

  • Nothing to report this week

LXD Terraform provider

PyLXD

Distribution work

This section is used to track the work done in downstream Linux distributions to ship the latest LXD as well as work to get various software to work properly inside containers.

Ubuntu

  • Nothing to report this week.

LXD snap

2 Likes