fix bug #307: correctly restore disk settings

bump version to 2.3-5
This commit is contained in:
Dietmar Maurer 2013-01-07 06:49:11 +01:00
parent 4ec05c4cc3
commit 907ea89128
3 changed files with 8 additions and 2 deletions

View File

@ -2,7 +2,7 @@ RELEASE=2.3
VERSION=2.3 VERSION=2.3
PACKAGE=qemu-server PACKAGE=qemu-server
PKGREL=4 PKGREL=5
DESTDIR= DESTDIR=
PREFIX=/usr PREFIX=/usr

View File

@ -3539,7 +3539,7 @@ sub restore_update_config_line {
print $outfd "$id: $netstr\n"; print $outfd "$id: $netstr\n";
} elsif ($line =~ m/^((ide|scsi|virtio|sata)\d+):\s*(\S+)\s*$/) { } elsif ($line =~ m/^((ide|scsi|virtio|sata)\d+):\s*(\S+)\s*$/) {
my $virtdev = $1; my $virtdev = $1;
my $value = $2; my $value = $3;
if ($line =~ m/backup=no/) { if ($line =~ m/backup=no/) {
print $outfd "#$line"; print $outfd "#$line";
} elsif ($virtdev && $map->{$virtdev}) { } elsif ($virtdev && $map->{$virtdev}) {

View File

@ -1,3 +1,9 @@
qemu-server (2.3-5) unstable; urgency=low
* fix bug #307: correctly restore disk settings
-- Proxmox Support Team <support@proxmox.com> Mon, 07 Jan 2013 06:48:48 +0100
qemu-server (2.3-4) unstable; urgency=low qemu-server (2.3-4) unstable; urgency=low
* qmrestore vma files: when restoring to same VMID, only remove volumes * qmrestore vma files: when restoring to same VMID, only remove volumes