]> git.proxmox.com Git - pve-guest-common.git/blobdiff - PVE/GuestHelpers.pm
fix #2834: skip refs in config_with_pending_array
[pve-guest-common.git] / PVE / GuestHelpers.pm
index 16ab3aca3c60945f0967d84ddb73e0c1e2cb7828..69a05d9e51e64af2a98e656f33318f0fb50640d0 100644 (file)
@@ -214,6 +214,8 @@ sub config_with_pending_array {
 
     my $res = [];
     foreach my $opt (keys %$conf) {
+       next if ref($conf->{$opt});
+
        my $item = {
            key => $opt,
            value => $conf->{$opt},