[pve-devel] [PATCH container/manager/docs] Cloudinit support for LXC
Leo Nunner
l.nunner at proxmox.com
Fri Jun 2 13:57:23 CEST 2023
This series introduces basic cloudinit support for containers. All in
all, it works quite similar to VMs, with the caveat that we only allow
network configuration through the alrady existing systems, and not via
cloud-init.
pve-container:
Leo Nunner (4):
cloudinit: introduce config parameters
cloudinit: basic implementation
cloudinit: add dump command to pct
cloudinit: add function dumping options for docs
src/PVE/API2/LXC.pm | 36 +++++++++++
src/PVE/API2/LXC/Config.pm | 7 ++-
src/PVE/CLI/pct.pm | 4 ++
src/PVE/LXC.pm | 1 +
src/PVE/LXC/Cloudinit.pm | 125 +++++++++++++++++++++++++++++++++++++
src/PVE/LXC/Config.pm | 64 +++++++++++++++++++
src/PVE/LXC/Makefile | 1 +
src/lxc-pve-prestart-hook | 5 ++
8 files changed, 242 insertions(+), 1 deletion(-)
create mode 100644 src/PVE/LXC/Cloudinit.pm
pve-manager:
Leo Nunner (2):
cloudinit: rename qemu cloudinit panel
cloudinit: introduce panel for LXCs
www/manager6/Makefile | 1 +
www/manager6/lxc/CloudInit.js | 237 +++++++++++++++++++++++++++++++++
www/manager6/lxc/Config.js | 6 +
www/manager6/qemu/CloudInit.js | 4 +-
www/manager6/qemu/Config.js | 2 +-
5 files changed, 247 insertions(+), 3 deletions(-)
create mode 100644 www/manager6/lxc/CloudInit.js
pve-docs:
Leo Nunner (2):
pct: add script to generate cloudinit options
pct: document cloudinit for LXC
Makefile | 1 +
gen-pct-cloud-init-opts.pl | 16 ++++++
pct-cloud-init.adoc | 114 +++++++++++++++++++++++++++++++++++++
pct.adoc | 4 ++
4 files changed, 135 insertions(+)
create mode 100755 gen-pct-cloud-init-opts.pl
create mode 100644 pct-cloud-init.adoc
--
2.30.2
More information about the pve-devel
mailing list