From: Leo Nunner <l.nun...@proxmox.com> Adds a cloudinit_config_properties function which dumps the config parameters from the cloudinit config description. This is called automatically when generating the docs.
Signed-off-by: Leo Nunner <l.nun...@proxmox.com> --- src/PVE/LXC/Config.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/PVE/LXC/Config.pm b/src/PVE/LXC/Config.pm index e3ed93b..7e184ee 100644 --- a/src/PVE/LXC/Config.pm +++ b/src/PVE/LXC/Config.pm @@ -1322,6 +1322,9 @@ sub check_type { } } +sub cloudinit_config_properties { + return Storable::dclone($confdesc_cloudinit); +} # add JSON properties for create and set function sub json_config_properties { -- 2.39.5 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel