vzdump: restore sata drives correctly

This commit is contained in:
Dietmar Maurer 2012-11-02 07:48:42 +01:00
parent c46eccbfc1
commit 4dac70e576
3 changed files with 8 additions and 2 deletions

View File

@ -2,7 +2,7 @@ RELEASE=2.2
VERSION=2.0 VERSION=2.0
PACKAGE=qemu-server PACKAGE=qemu-server
PKGREL=65 PKGREL=66
DESTDIR= DESTDIR=
PREFIX=/usr PREFIX=/usr

View File

@ -3545,7 +3545,7 @@ sub restore_archive {
$net->{macaddr} = PVE::Tools::random_ether_addr() if $net->{macaddr}; $net->{macaddr} = PVE::Tools::random_ether_addr() if $net->{macaddr};
$netstr = print_net($net); $netstr = print_net($net);
print $outfd "$id: $netstr\n"; print $outfd "$id: $netstr\n";
} elsif ($line =~ m/^((ide|scsi|virtio)\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 = $2;
if ($line =~ m/backup=no/) { if ($line =~ m/backup=no/) {

View File

@ -1,3 +1,9 @@
qemu-server (2.0-66) unstable; urgency=low
* vzdump: restore sata drives correctly
-- Proxmox Support Team <support@proxmox.com> Fri, 02 Nov 2012 07:43:16 +0100
qemu-server (2.0-65) unstable; urgency=low qemu-server (2.0-65) unstable; urgency=low
* remove hardcoded blowfish cipher * remove hardcoded blowfish cipher