Am 10.02.25 um 13:07 schrieb Daniel Herzig: > +sub dump_cloudinit_config { > + my ($conf, $type) = @_; > + > + if ($type eq 'user') { > + return cloudinit_userdata($conf); > + } else { # metadata config
I'd also guard this with a "$type eq 'meta'" and die for unknown types. > + my $user = cloudinit_userdata($conf); > + return gen_cloudinit_metadata($user); > + } > +} > + > 1; _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel