aports/testing/lxd/0002-bump-base-vm-filesystem-volume-to-500mib.patch
Leonardo Arena 7a92050152 testing/lxd: moved from community
Deprecated in favor of incus. Slated for removal eventually unless someone picks it up.
2025-03-28 07:15:25 +00:00

30 lines
1.1 KiB
Diff

From 5aa123bfe559c99f3691d748c6ed588cb74bd734 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgraber@stgraber.org>
Date: Fri, 16 Feb 2024 15:35:45 -0500
Subject: [PATCH] lxd/device: Bump base VM filesystem volume to 500MiB
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
This avoids an issue on XFS where the base filesystem size is now 300MiB.
Closes #498
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
(cherry picked from commit 1f54dbb29b56cfdbe7ab4fcbf9e5bb96fa632ba8)
Signed-off-by: Max Asnaashari <max.asnaashari@canonical.com>
License: Apache-2.0
---
lxd/device/config/consts.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lxd/device/config/consts.go b/lxd/device/config/consts.go
index c81b2279b605..18c6dd5f5a11 100644
--- a/lxd/device/config/consts.go
+++ b/lxd/device/config/consts.go
@@ -1,4 +1,4 @@
package config
// DefaultVMBlockFilesystemSize is the size of a VM root device block volume's associated filesystem volume.
-const DefaultVMBlockFilesystemSize = "100MiB"
+const DefaultVMBlockFilesystemSize = "500MiB"