From 7ff3a6b0a08d2fb0eb02433c8caa7e19ee8f946a Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Thu, 28 Jun 2012 18:44:29 +0200 Subject: [PATCH] Ne pas utiliser les chemins absolus vers lvcreate et lvremove --- virt-backup | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/virt-backup b/virt-backup index 066a366..d1b3aa4 100644 --- a/virt-backup +++ b/virt-backup @@ -71,9 +71,9 @@ $opts{connect} = "qemu:///system"; # Compression used with the dump action (the compression is done on the fly) $opts{compress} = 'none'; # lvcreate path -$opts{lvcreate} = '/usr/sbin/lvcreate -c 512'; +$opts{lvcreate} = 'lvcreate -c 512'; # lvremove path -$opts{lvremove} = '/usr/sbin/lvremove'; +$opts{lvremove} = 'lvremove'; # chunkfs path $opts{chunkfs} = '/usr/bin/chunkfs'; # Size of chunks to use with chunkfs or or blocks with dd in bytes (default to 256kB)