[pve-devel] [PATCH container 2/2] Fix typo in lxc-checkpoint dump directory

Fabian Grünbichler f.gruenbichler at proxmox.com
Tue Jan 19 12:14:11 CET 2016


Signed-off-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
---
 src/PVE/API2/LXC/Status.pm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/PVE/API2/LXC/Status.pm b/src/PVE/API2/LXC/Status.pm
index 8d59436..ec29fe8 100644
--- a/src/PVE/API2/LXC/Status.pm
+++ b/src/PVE/API2/LXC/Status.pm
@@ -396,7 +396,7 @@ __PACKAGE__->register_method({
 
 		PVE::LXC::check_lock($conf);
 
-		my $cmd = ['lxc-checkpoint', '-n', $vmid, '-s', '-D', '/var/liv/vz/dump'];
+		my $cmd = ['lxc-checkpoint', '-n', $vmid, '-s', '-D', '/var/lib/vz/dump'];
 
 		run_command($cmd);
 	    };
@@ -450,7 +450,7 @@ __PACKAGE__->register_method({
             syslog('info', "resume CT $vmid: $upid\n");
 
 	    my $cmd = ['lxc-checkpoint', '-n', $vmid, '-r', '--foreground',
-		       '-D', '/var/liv/vz/dump'];
+		       '-D', '/var/lib/vz/dump'];
 
 	    run_command($cmd);
 
-- 
2.1.4





More information about the pve-devel mailing list