mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-10-04 09:23:23 +00:00
config: fix dropping description on parsing special cloud init section
we now always write out a new clouding special section on start (to
be fixed) independent of any cloudinit drive/config configured or
not, and thus always run into that section after a VM started with
the new qemu-server installed, which in turn set the description
always to undef.
Fixes: 95a5135
("cloudinit: add cloudinit section for current generated config.")
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
cbfc9d753f
commit
eb9923f9b9
@ -2445,7 +2445,7 @@ sub parse_vm_config {
|
||||
next;
|
||||
} elsif ($line =~ m/^\[special:cloudinit\]\s*$/i) {
|
||||
$section = 'cloudinit';
|
||||
$descr = undef;
|
||||
$finish_description->();
|
||||
$conf = $res->{$section} = {};
|
||||
next;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user