Skip to content

Commit

Permalink
Adds an API extension for image export over devlxd in VMs (#13882)
Browse files Browse the repository at this point in the history
This isn't explicitly used in the client, but will be useful in testing.
  • Loading branch information
tomponline authored Aug 6, 2024
2 parents 890b259 + 72e1197 commit efa8e99
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions doc/api-extensions.md
Original file line number Diff line number Diff line change
Expand Up @@ -2446,3 +2446,9 @@ In this scenario, the creation and startup is part of a single background operat

Enables setting the {config:option}`instance-security:security.protection.start` field which prevents instances
from being started if set to `true`.

## `devlxd_images_vm`

Enables the {config:option}`instance-security:security.devlxd.images` configuration option for virtual machines.
This controls the availability of a `/1.0/images/FINGERPRINT/export` API over `devlxd`.
This can be used by a virtual machine running LXD to access raw images from the host.
1 change: 1 addition & 0 deletions shared/version/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -412,6 +412,7 @@ var APIExtensions = []string{
"instance_import_conversion",
"instance_create_start",
"instance_protection_start",
"devlxd_images_vm",
}

// APIExtensionsCount returns the number of available API extensions.
Expand Down

0 comments on commit efa8e99

Please sign in to comment.