[pve-devel] [PATCH 0/8 container/manager/docs] fix #4686: Cloudinit support for LXC
Daniel Herzig
d.herzig at proxmox.com
Mon Feb 10 13:07:14 CET 2025
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.
Changes since original patch series from Leo Nunner [0]:
* rebased onto current masters:
** pve-container: 5f9527e
** pve-manager: 20e637a2
** pve-docs: 7da9c0c
[0] https://lore.proxmox.com/pve-devel/20230602115731.121151-1-l.nunner@proxmox.com/
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.39.5
More information about the pve-devel
mailing list