DRAFT: Add Packer build and upload workflow for Proxmox templates#80
Merged
runleveldev merged 10 commits intomainfrom Nov 14, 2025
Merged
DRAFT: Add Packer build and upload workflow for Proxmox templates#80runleveldev merged 10 commits intomainfrom
runleveldev merged 10 commits intomainfrom
Conversation
Introduces a draft GitHub Actions workflow to build and upload Debian 12 and Rocky 9 LXC templates for Proxmox. Adds supporting Packer HCL files, Ansible provisioning playbook, Python API utilities for uploading templates, and variable files for template customization.
This was
linked to
issues
Oct 24, 2025
Added a comprehensive README.md explaining the Proxmox LXC template automation workflow. Updated the Rocky9 Packer variable file to use 'rocky9-lxc' as the template name instead of 'rocky9-fungible'.
runleveldev
requested changes
Oct 24, 2025
container-creation/intern-phxdc-pve1/packer/api/proxmox_utils.py
Outdated
Show resolved
Hide resolved
container-creation/intern-phxdc-pve1/packer/provisioners/ansible/site.yml
Outdated
Show resolved
Hide resolved
container-creation/intern-phxdc-pve1/packer/provisioners/ansible/site.yml
Outdated
Show resolved
Hide resolved
container-creation/intern-phxdc-pve1/packer/provisioners/ansible/site.yml
Outdated
Show resolved
Hide resolved
container-creation/intern-phxdc-pve1/packer/api/proxmox_utils.py
Outdated
Show resolved
Hide resolved
This was
unlinked from
issues
Oct 24, 2025
runleveldev
requested changes
Oct 24, 2025
Collaborator
runleveldev
left a comment
There was a problem hiding this comment.
Also these files are all in the container-creation/intern-phxdc-pve1 directory if you didn't notice. Let's get them their own packer or templates or images subdir and merge the .github directories.
Replaces Python scripts proxmox_upload.py and proxmox_utils.py with Node.js equivalents proxmox_upload.js and proxmox_utils.js for uploading LXC templates to Proxmox. Adds package.json for dependencies and updates CI workflow to trigger on changes in the packer directory. Minor improvements to Ansible provisioning and Packer variable files.
Changed the https.Agent configuration to reject unauthorized SSL certificates, ensuring that API requests to Proxmox require valid certificates. This improves security by preventing connections to servers with self-signed or invalid certificates.
Renamed and relocated all packer-related files and directories from container-creation/intern-phxdc-pve1/packer/ to their respective top-level locations for improved project structure and accessibility.
This was
linked to
issues
Nov 5, 2025
added 2 commits
November 6, 2025 11:03
Expanded GitHub workflow trigger to all 'packer/**' paths. Refactored template_version variable in debian12 and rocky9 Packer configs for consistency. Modified Ansible provisioning to download and execute pown.sh from a remote source instead of copying a local file. Updated Rocky9 build to use template_version in output filename.
Added Ansible tasks to update all packages for RedHat-based and Debian-based systems in site.yml. Also fixed a typo in the container creation script's update message.
runleveldev
requested changes
Nov 7, 2025
Moves TEMPLATE_VERSION assignment from job-level env to a dedicated step using the current date. Cleans up comments and formatting for improved clarity in the build-templates workflow.
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.
Introduces a draft GitHub Actions workflow to support #63 to build and upload Debian 12 and Rocky 9 LXC templates for Proxmox. Adds supporting Packer HCL files, Ansible provisioning playbook, Python API utilities for uploading templates, and variable files for template customization.