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

Fabian Grünbichler f.gruenbichler at proxmox.com
Tue Jan 19 13:10:51 CET 2016


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

diff --git a/src/PVE/API2/LXC/Status.pm b/src/PVE/API2/LXC/Status.pm
index e119211..6b468cf 100644
--- a/src/PVE/API2/LXC/Status.pm
+++ b/src/PVE/API2/LXC/Status.pm
@@ -381,8 +381,7 @@ __PACKAGE__->register_method({
 	    my $conf = PVE::LXC::load_config($vmid);
 
 	    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);
 
@@ -433,7 +432,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