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 <[email protected]>
---
 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
[email protected]
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to