Signed-off-by: Alexandre Derumier <aderum...@odiso.com> --- PVE/QemuConfig.pm | 8 ++++++++ 1 file changed, 8 insertions(+)
diff --git a/PVE/QemuConfig.pm b/PVE/QemuConfig.pm index cfef8d3..d912456 100644 --- a/PVE/QemuConfig.pm +++ b/PVE/QemuConfig.pm @@ -516,6 +516,14 @@ sub __snapshot_rollback_get_unused { return $unused; } +sub load_current_config { + my ($class, $vmid, $current) = @_; + + my $conf = $class->SUPER::load_current_config($vmid, $current); + delete $conf->{cloudinit}; + return $conf; +} + # END implemented abstract methods from PVE::AbstractConfig 1; -- 2.30.2 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel