public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH container] oci create: log volume directory creation
@ 2025-11-18 10:22 Filip Schauer
  2025-11-18 12:19 ` [pve-devel] applied: " Thomas Lamprecht
  0 siblings, 1 reply; 2+ messages in thread
From: Filip Schauer @ 2025-11-18 10:22 UTC (permalink / raw)
  To: pve-devel

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@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



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-11-18 12:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-11-18 10:22 [pve-devel] [PATCH container] oci create: log volume directory creation Filip Schauer
2025-11-18 12:19 ` [pve-devel] applied: " Thomas Lamprecht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal