Upstream proxmox-git/qemu-server state of the touched files before b3ce7ed62d
This commit is contained in:
1 parent
fdb92fde7d
commit
1b6f27e716
1 file changed
-10
@@ -6697,16 +6697,6 @@ sub restore_update_config_line {
|
||||
} else {
|
||||
$res .= $line;
|
||||
}
|
||||
} elsif ($line =~ m/^vmstatestorage:\s*(\S+)\s*$/) {
|
||||
my $storeid = $1;
|
||||
my $storecfg = PVE::Storage::config();
|
||||
my $scfg = PVE::Storage::storage_config($storecfg, $storeid, 1);
|
||||
if ($scfg && PVE::Storage::storage_check_enabled($storecfg, $storeid, undef, 1)) {
|
||||
$res .= $line;
|
||||
} else {
|
||||
print "VM state storage '$storeid' is not available on this node, using"
|
||||
. " automatic selection instead\n";
|
||||
}
|
||||
} elsif (($line =~ m/^vmgenid: (.*)/)) {
|
||||
my $vmgenid = $1;
|
||||
if ($vmgenid ne '0') {
|
||||
|
||||
Reference in new issue
Block a user