Repository navigation
Add Proxmox LXC creator script - #36
Merged
Merged
Conversation
Builds an Ubuntu or Debian container from the pveam templates and either leaves it running or converts it to a template. Follows the conventions of the Ubuntu cloud template script: profiles, --unattended, optional features and hooks.
Interactive runs now ask about the optional features and start at boot. Commands run in the container with C.UTF-8, so the host locale no longer causes warnings before it is generated. Proxmox firewall bridges (fwbr*) are left out of the bridge list.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
Bash/Proxmox Scripts/LXC Template/create-lxc.sh, the container counterpart ofcreate-ubuntu-cloud-template.sh.What it does
pveamtemplates.--template.--config,--unattended,--ctid/--auto-ctid,--force-overwrite(templates only).UPLOAD_FILESandPROVISION_SCRIPTS.ct-identity.service).Design notes are in
docs/superpowers/specs/2026-10-11-lxc-create-script-design.md.Testing
bash -nandshellcheck: clean apart from SC2015 info notes.provisionthenseal) indebian:13andubuntu:24.04Docker containers with every feature on.--template) has not been run on a Proxmox host yet. The interactive feature prompts were tested with scripted answers only.