Am 10.02.25 um 13:07 schrieb Daniel Herzig: > From: Leo Nunner <l.nun...@proxmox.com> > > …the same way as it's already being done for VMs.
Nit: can we avoid the unicode ellipsis here ;) > > Signed-off-by: Leo Nunner <l.nun...@proxmox.com> > --- > gen-pct-cloud-init-opts.pl | 16 ++++++++++++++++ > 1 file changed, 16 insertions(+) > create mode 100755 gen-pct-cloud-init-opts.pl > > diff --git a/gen-pct-cloud-init-opts.pl b/gen-pct-cloud-init-opts.pl > new file mode 100755 > index 0000000..c22c4d1 > --- /dev/null > +++ b/gen-pct-cloud-init-opts.pl > @@ -0,0 +1,16 @@ > +#!/usr/bin/perl > + > +use lib '.'; Style nit: add a blank line here... > +use strict; > +use warnings; ...and here... > +use PVE::JSONSchema; > +use PVE::RESTHandler; > +use PVE::LXC::Config; ...and sort alphabetically. > + > +my $prop = PVE::LXC::Config::cloudinit_config_properties(); > + > +my $data = PVE::RESTHandler::dump_properties($prop, 'asciidoc', 'config'); > + > +$data =~ s/cloud-init: //g; > + > +print $data; _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel