[PR #643] Massive Update: build.func | install.func | create_lxc.sh (Part 1) #2641

Closed
opened 2025-11-20 05:31:04 -05:00 by saavagebueno · 0 comments
Owner

Original Pull Request: https://github.com/community-scripts/ProxmoxVE/pull/643

State: closed
Merged: Yes


Description

Massive Update on the core dependencies.

It is probably the biggest update in a long time.

The following points are now implemented, I split it into features / changes and bugfixes

Features:

  • It is now possible to tag CT.sh files, these tags are then transferred to Proxmox.
  • Extended MOTD
  • Base-Default Settings on CT.sh (these can be overridden or changed, but not all values)
  • Ping against iPV4 and iPV6 Extended
  • Color UI and UX optimized and brought up to date (Default Settings/ Advanced Settings / Cross / Checkmark)
  • Spinner updated
  • Ubuntu 24.10 added
  • alpine-install improved
  • alpine switch to stable 3.20 pveam file

Changes:

  • Streamlined CT.sh (old ones still work!)
  • Query despite system resources (nevertheless update...?)
  • Whiptail dialog adapted
  • Preparation for Fedora, CentOS, RockLinux, AlmaLinux & openSUSE installations (these are possible via pvestream and should be possible as “simple LXC's”).

Bugfixes:

  • Generally better error handling
  • Variable declaration cleanly implemented
  • echo output optimized

What is currently still missing:

  • Implementation for Alpine (alpine-install.func) -> ASAP
  • Calling variables (e.g. bash -c LINK - VERBOSE) to start a script directly in verbose mode.
  • A clean template as script preparation. Much is made easier. My example script: koel_old.sh (old installation method) has a total of 109 lines and 2855 characters. The new method (koel_new.sh) has 75 lines and 2203 characters, which is about 23% code savings.
  • Adapt all CT.sh to the new version (I can do this for EVERYONE if you want)

Fixes # (issue)

Type of change

  • Bug fix (non-breaking change that resolves an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (a fix or feature that would cause existing functionality to change unexpectedly)

Prerequisites

The following efforts must be made for the PR to be considered. Please check when completed:

  • Self-review performed (I have reviewed my code, ensuring it follows established patterns and conventions)
  • Testing performed (I have tested my changes, ensuring everything works as expected)
  • Documentation updated (I have updated any relevant documentation)

If there are other pull requests or discussions related to this change, please link them here:


koel_new.sh: (koel_old.sh same output)
image


koel_full.sh (other size, version, os, verbose)
image


MOTD:
image


TAGS:
image


You are welcome to test it on my DEV repo, please note that not all scripts are functional.
All my tests i do with this 5 Scripts:

  • koel_full
  • koel_new
  • koel_old
  • koel_without_base
  • nextpvr
bash -c "$(wget -qLO - https://raw.githubusercontent.com/MickLesk/Proxmox_DEV/refs/heads/main/ct/koel_new.sh)"
bash -c "$(wget -qLO - https://raw.githubusercontent.com/MickLesk/Proxmox_DEV/refs/heads/main/ct/koel_old.sh)"
bash -c "$(wget -qLO - https://raw.githubusercontent.com/MickLesk/Proxmox_DEV/refs/heads/main/ct/koel_full.sh)"
bash -c "$(wget -qLO - https://raw.githubusercontent.com/MickLesk/Proxmox_DEV/refs/heads/main/ct/koel_without_base.sh)"
bash -c "$(wget -qLO - https://raw.githubusercontent.com/MickLesk/Proxmox_DEV/refs/heads/main/ct/nextpvr.sh)"

=> koel_without_base should abort because there is not enough memory. This was an extra scenario for aborting.
=> PS: "update" for koel not working yet, its in active development

I have prepared 4 variants for koel. But the following should also work:

  • ampache
  • hoodik
  • nodebb (idk)
  • scrutiny
  • urbackup
**Original Pull Request:** https://github.com/community-scripts/ProxmoxVE/pull/643 **State:** closed **Merged:** Yes --- ## Description Massive Update on the core dependencies. It is probably the biggest update in a long time. The following points are now implemented, I split it into features / changes and bugfixes ### **Features:** - It is now possible to tag CT.sh files, these tags are then transferred to Proxmox. - Extended MOTD - Base-Default Settings on CT.sh (these can be overridden or changed, but not all values) - Ping against iPV4 and iPV6 Extended - Color UI and UX optimized and brought up to date (Default Settings/ Advanced Settings / Cross / Checkmark) - Spinner updated - Ubuntu 24.10 added - alpine-install improved - alpine switch to stable 3.20 pveam file ### **Changes:** - Streamlined CT.sh (old ones still work!) - Query despite system resources (nevertheless update...?) - Whiptail dialog adapted - Preparation for Fedora, CentOS, RockLinux, AlmaLinux & openSUSE installations (these are possible via pvestream and should be possible as “simple LXC's”). ### **Bugfixes:** - Generally better error handling - Variable declaration cleanly implemented - echo output optimized ### **What is currently still missing:** - Implementation for Alpine (alpine-install.func) -> ASAP - Calling variables (e.g. bash -c LINK - VERBOSE) to start a script directly in verbose mode. - A clean template as script preparation. Much is made easier. My example script: koel_old.sh (old installation method) has a total of 109 lines and 2855 characters. The new method (koel_new.sh) has 75 lines and 2203 characters, which is about 23% code savings. - Adapt all CT.sh to the new version (I can do this for EVERYONE if you want) Fixes # (issue) ## Type of change - [x] Bug fix (non-breaking change that resolves an issue) - [x] New feature (non-breaking change that adds functionality) - [x] Breaking change (a fix or feature that would cause existing functionality to change unexpectedly) ## Prerequisites The following efforts must be made for the PR to be considered. Please check when completed: - [x] Self-review performed (I have reviewed my code, ensuring it follows established patterns and conventions) - [x] Testing performed (I have tested my changes, ensuring everything works as expected) - [x] Documentation updated (I have updated any relevant documentation) ## Related Pull Requests / Discussions If there are other pull requests or discussions related to this change, please link them here: - Related PR #487 #480 #322 #404 --- koel_new.sh: (koel_old.sh same output) ![image](https://github.com/user-attachments/assets/65f9f1dd-acdf-41e4-af0a-e634ed53be98) --- koel_full.sh (other size, version, os, verbose) ![image](https://github.com/user-attachments/assets/59404229-8adc-42ab-a0ff-a76fd4ef560f) --- MOTD: ![image](https://github.com/user-attachments/assets/6054c66e-5675-476f-8080-a72a7b3a410a) --- TAGS: ![image](https://github.com/user-attachments/assets/91fc11db-48cc-47a4-a53b-8c46901f52b3) --- You are welcome to test it on my DEV repo, please note that not all scripts are functional. All my tests i do with this 5 Scripts: - koel_full - koel_new - koel_old - koel_without_base - nextpvr ```bash bash -c "$(wget -qLO - https://raw.githubusercontent.com/MickLesk/Proxmox_DEV/refs/heads/main/ct/koel_new.sh)" bash -c "$(wget -qLO - https://raw.githubusercontent.com/MickLesk/Proxmox_DEV/refs/heads/main/ct/koel_old.sh)" bash -c "$(wget -qLO - https://raw.githubusercontent.com/MickLesk/Proxmox_DEV/refs/heads/main/ct/koel_full.sh)" bash -c "$(wget -qLO - https://raw.githubusercontent.com/MickLesk/Proxmox_DEV/refs/heads/main/ct/koel_without_base.sh)" bash -c "$(wget -qLO - https://raw.githubusercontent.com/MickLesk/Proxmox_DEV/refs/heads/main/ct/nextpvr.sh)" ``` => koel_without_base should abort because there is not enough memory. This was an extra scenario for aborting. => PS: "update" for koel not working yet, its in active development I have prepared 4 variants for koel. But the following should also work: - ampache - hoodik - nodebb (idk) - scrutiny - urbackup
saavagebueno added the pull-request label 2025-11-20 05:31:04 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/ProxmoxVE#2641