[pve-devel] [PATCH 4/8 container] cloudinit: add function dumping options for docs
Daniel Herzig
d.herzig at proxmox.com
Mon Feb 10 13:07:18 CET 2025
From: Leo Nunner <l.nunner at 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.nunner at 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
More information about the pve-devel
mailing list