mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-05-29 20:58:54 +00:00
qemuconfig: load_current_config : delete cloudinit value
Signed-off-by: Alexandre Derumier <aderumier@odiso.com> Reviewed-by: Fiona Ebner <f.ebner@proxmox.com>
This commit is contained in:
parent
dbc45fdf9f
commit
ae37db2423
@ -519,6 +519,14 @@ sub __snapshot_rollback_get_unused {
|
|||||||
return $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
|
# END implemented abstract methods from PVE::AbstractConfig
|
||||||
|
|
||||||
sub has_cloudinit {
|
sub has_cloudinit {
|
||||||
|
Loading…
Reference in New Issue
Block a user