Upstream proxmox-git/qemu-server state of the touched files before 7e62afd562
This commit is contained in:
1 parent
5bbb9a8f1d
commit
b2fcf5405f
2 files changed
+81
-2
No files matched your search
@@ -2167,8 +2167,6 @@ sub write_vm_config {
|
||||
|
||||
foreach my $key (sort keys %$conf) {
|
||||
next if $key =~ /^(digest|description|pending|snapshots|special-sections)$/;
|
||||
# an empty tag list is only needed as pending change for removing all tags
|
||||
next if $key eq 'tags' && !$pending && $conf->{$key} =~ m/^\s*$/;
|
||||
$raw .= "$key: $conf->{$key}\n";
|
||||
}
|
||||
return $raw;
|
||||
|
||||
Reference in new issue
Block a user