[pve-devel] [PATCH container] oci create: log volume directory creation

Filip Schauer f.schauer at proxmox.com
Tue Nov 18 11:22:02 CET 2025


Print a message informing the user about the creation of a placeholder
directory for a volume specified in the OCI image.

Signed-off-by: Filip Schauer <f.schauer at proxmox.com>
---
 src/PVE/LXC/Create.pm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/PVE/LXC/Create.pm b/src/PVE/LXC/Create.pm
index 2382118..2f6de0f 100644
--- a/src/PVE/LXC/Create.pm
+++ b/src/PVE/LXC/Create.pm
@@ -718,6 +718,7 @@ sub restore_oci_archive {
         PVE::LXC::Namespaces::run_in_userns(
             sub {
                 for my $path (@data_volume_paths) {
+                    print "Creating placeholder directory for volume at $path\n";
                     make_path("$rootdir/$path"); # safe inside CT namespace
                 }
             },
-- 
2.47.3





More information about the pve-devel mailing list