feat: add T3 Code LXC template - #2203
Conversation
Try this scriptCOMMUNITY_SCRIPTS_URL=https://raw.githubusercontent.com/lukdz/ProxmoxVED/feat/t3-code \
bash -c "$(curl -fsSL https://raw.githubusercontent.com/lukdz/ProxmoxVED/feat/t3-code/ct/t3-code.sh)"
Against a core branch as wellAdd Useful flags while testing
|
This comment was marked as spam.
This comment was marked as spam.
1 similar comment
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
1 similar comment
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
1 similar comment
This comment was marked as spam.
This comment was marked as spam.
|
Dear maintainers please check my PR, I hope I have solved all issues reported by bot. BTW. Please consider updating bot to "update" msg, instead of creating new ones (at least when bot msg is the last one). Maybe I should create an issue for it? I may be interested in contributing to it, if you consider this to be a good idea. |
|
Refactor your whole code based on the AGENTS.md or the script creator, you pr is far far away from our conventions https://github.com/community-scripts/ProxmoxVED/blob/main/.github/agents/pve-script-creator.agent.md |
asylumexp
left a comment
There was a problem hiding this comment.
these scripts are absolutely massive. this can be shortened down massively by not trying to cover every single case that could possibly happen. you need to go back and redo this script.
|
unless required get rid of the t3 user, the whiptail prompts. you shouldn't need to grep for a string in a just created container, etc. |
I stared my work in ProxmoxVE which lacks those files.
A bunch of code was needed to install glab, Azure CLI + DevOps ext, but since they are not most popular I'll drop them.
Using root is a bit less secure but making installing packages using AI agent easy and primary protection of proxmox host is LXC. Thanks for suggestion. I applied them on new branch/PR |
✍️ Description
Adds a T3 Code LXC template for ProxmoxVED. T3 Code is installed bare-metal with Node.js 24 and runs as a dedicated non-root
t3user under a systemd user service.The implementation follows the ProxmoxVED script conventions:
setup_nodejs,ensure_dependencies,install_packages_with_retry,setup_deb822_repo, and the GitLab release helper./opt/t3-code_data, outside the application home./home/t3/.t3data on update and rejects ambiguous dual-directory state.var_*values for unattended installs and app-default configuration.apt-get,git pull, custom release download logic, remote shell installers, or custom credential files.The Advanced selection menus are implemented through
advanced_settings_app_configureandadvanced_settings_app_summary; no core function is replaced or parsed. Suppliedvar_*values remain available for non-interactive installs, while Advanced mode displays the current selections and allows changing them.AI assistance disclosure: refactored and reviewed with OpenCode, model
gpt-5.6-luna, reasoning levelhigh, usingAGENTS.mdand.github/agents/pve-script-creator.agent.md.🔗 Related PR / Issue
Link: community-scripts/core#8
✅ Prerequisites (X in brackets)
🏗️ arm64 Support (X in brackets)
🛠️ Type of Change (X in brackets)
README,AppName.md,CONTRIBUTING.md, or other docs.🔍 Code & Security Review (X in brackets)
CODE-AUDIT.md&CONTRIBUTING.mdguidelinesAppName.sh,AppName-install.sh,AppName.json)git pull.🤖 AI Assistance (X in brackets)
AGENTS.mdand.github/agents/pve-script-creator.agent.mdas guidance, and the output has been reviewed and corrected to match those guidelines.📋 Additional Information (optional)
Validation completed:
bash -npassed for all 277 repository shell scripts.jq emptypassed for all 103 JSON metadata files.📦 Application Requirements (for new scripts)
🌐 Source