]> git.proxmox.com Git - pve-container.git/blobdiff - src/lxc-pve-prestart-hook
Use foreach_volume instead of foreach_mountpoint-variants
[pve-container.git] / src / lxc-pve-prestart-hook
index 66569f99ba728739d36625fa7c65282db1bbe3f0..ed25aa4170931323bc081ec44e30258b893f3059 100755 (executable)
@@ -125,7 +125,7 @@ PVE::LXC::Tools::lxc_hook('pre-start', 'lxc', sub {
        };
     }
 
-    PVE::LXC::Config->foreach_mountpoint($conf, $setup_mountpoint);
+    PVE::LXC::Config->foreach_volume($conf, $setup_mountpoint);
 
     my $lxc_setup = PVE::LXC::Setup->new($conf, $rootdir);
     $lxc_setup->pre_start_hook();