Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import LXD changes #237

Merged
merged 17 commits into from
Nov 24, 2023
Merged

Import LXD changes #237

merged 17 commits into from
Nov 24, 2023

Conversation

stgraber
Copy link
Member

No description provided.

monstermunchkin and others added 17 commits November 23, 2023 23:14
This changes the Stdout and Stderr fields to be of type io.Writer
instead of io.WriteCloser since `Close()` is never called on these
fields.

Fixes #12197

Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
This adds a new function which checks whether the given path has
subvolumes.

Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
This replaces `getSubvolumes` with `hasSubvolumes` when creating a new
storage pool as the caller isn't interested in what the subvolumes are.

It also fixes a regression which caused storage pools with `source` set
to an existing subvolume to fail when being created.

Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
This changes the Stdin field to be of type io.Reader instead of
io.ReadCloser.

Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
…kward compat

Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
…me mounting from setupNvram

Signed-off-by: Alexander Mikhalitsyn <aleksandr.mikhalitsyn@canonical.com>
volatile.apply_nvram has a bool type, but declared as
a string. Let's fix that for consistency sake.

Signed-off-by: Alexander Mikhalitsyn <aleksandr.mikhalitsyn@canonical.com>
… mirror finishes in ExecInstance

Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
Not since ce2aad50cbc75a6dfce5d2f1e78a65024b01bb19

Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
…irrorRead

Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
…ckets"

This reverts commit 781905a01b68d68b4071643d947b75004ea4fad9.

Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
…for exec control and stdin channels

Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
@github-actions github-actions bot added the Documentation Documentation needs updating label Nov 24, 2023
@brauner brauner merged commit e35fb8b into lxc:main Nov 24, 2023
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Documentation needs updating
Development

Successfully merging this pull request may close these issues.

6 participants