From 235d217b36249f7f52e061527a9d43b88ccd941f Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Thu, 4 Dec 2025 14:48:51 +0100 Subject: [PATCH] Add install and setup scripts for multiple Linux distros Introduces container setup scripts and install scripts for AlmaLinux, CentOS Stream, Devuan, Fedora, Gentoo, openEuler, openSUSE, Rocky Linux, and updates Alpine install script. Adds corresponding JSON metadata files for each distribution in the frontend. These changes enable streamlined LXC container creation and installation for a wide range of Linux distributions. --- ct/almalinux.sh | 41 +++++++++++++++++++++++++++ ct/centos.sh | 41 +++++++++++++++++++++++++++ ct/devuan.sh | 42 ++++++++++++++++++++++++++++ ct/fedora.sh | 41 +++++++++++++++++++++++++++ ct/gentoo.sh | 42 ++++++++++++++++++++++++++++ ct/openeuler.sh | 41 +++++++++++++++++++++++++++ ct/opensuse.sh | 41 +++++++++++++++++++++++++++ ct/rockylinux.sh | 41 +++++++++++++++++++++++++++ frontend/public/json/almalinux.json | 33 ++++++++++++++++++++++ frontend/public/json/alpine.json | 33 ++++++++++++++++++++++ frontend/public/json/centos.json | 38 +++++++++++++++++++++++++ frontend/public/json/debian.json | 33 ++++++++++++++++++++++ frontend/public/json/devuan.json | 38 +++++++++++++++++++++++++ frontend/public/json/fedora.json | 33 ++++++++++++++++++++++ frontend/public/json/gentoo.json | 38 +++++++++++++++++++++++++ frontend/public/json/openeuler.json | 33 ++++++++++++++++++++++ frontend/public/json/opensuse.json | 33 ++++++++++++++++++++++ frontend/public/json/rockylinux.json | 33 ++++++++++++++++++++++ frontend/public/json/ubuntu.json | 33 ++++++++++++++++++++++ install/almalinux-install.sh | 25 +++++++++++++++++ install/alpine-install.sh | 1 - install/centos-install.sh | 25 +++++++++++++++++ install/devuan-install.sh | 26 +++++++++++++++++ install/fedora-install.sh | 25 +++++++++++++++++ install/gentoo-install.sh | 25 +++++++++++++++++ install/openeuler-install.sh | 25 +++++++++++++++++ install/opensuse-install.sh | 25 +++++++++++++++++ install/rockylinux-install.sh | 25 +++++++++++++++++ 28 files changed, 909 insertions(+), 1 deletion(-) create mode 100644 ct/almalinux.sh create mode 100644 ct/centos.sh create mode 100644 ct/devuan.sh create mode 100644 ct/fedora.sh create mode 100644 ct/gentoo.sh create mode 100644 ct/openeuler.sh create mode 100644 ct/opensuse.sh create mode 100644 ct/rockylinux.sh create mode 100644 frontend/public/json/almalinux.json create mode 100644 frontend/public/json/alpine.json create mode 100644 frontend/public/json/centos.json create mode 100644 frontend/public/json/debian.json create mode 100644 frontend/public/json/devuan.json create mode 100644 frontend/public/json/fedora.json create mode 100644 frontend/public/json/gentoo.json create mode 100644 frontend/public/json/openeuler.json create mode 100644 frontend/public/json/opensuse.json create mode 100644 frontend/public/json/rockylinux.json create mode 100644 frontend/public/json/ubuntu.json create mode 100644 install/almalinux-install.sh create mode 100644 install/centos-install.sh create mode 100644 install/devuan-install.sh create mode 100644 install/fedora-install.sh create mode 100644 install/gentoo-install.sh create mode 100644 install/openeuler-install.sh create mode 100644 install/opensuse-install.sh create mode 100644 install/rockylinux-install.sh diff --git a/ct/almalinux.sh b/ct/almalinux.sh new file mode 100644 index 000000000..955caf418 --- /dev/null +++ b/ct/almalinux.sh @@ -0,0 +1,41 @@ +#!/usr/bin/env bash +source <(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVED/raw/branch/main/misc/build.func) +# Copyright (c) 2021-2025 community-scripts ORG +# Author: MickLesk (CanbiZ) +# License: MIT | https://github.com/community-scripts/ProxmoxVED/raw/main/LICENSE +# Source: https://almalinux.org/ + +APP="AlmaLinux" +var_tags="${var_tags:-os}" +var_cpu="${var_cpu:-1}" +var_ram="${var_ram:-512}" +var_disk="${var_disk:-4}" +var_os="${var_os:-almalinux}" +var_version="${var_version:-10}" +var_unprivileged="${var_unprivileged:-1}" + +header_info "$APP" +variables +color +catch_errors + +function update_script() { + header_info + check_container_storage + check_container_resources + if [[ ! -d /var ]]; then + msg_error "No ${APP} Installation Found!" + exit + fi + msg_info "Updating $APP LXC" + $STD dnf -y upgrade + msg_ok "Updated $APP LXC" + exit +} + +start +build_container +description + +msg_ok "Completed Successfully!" +msg_custom "🚀" "${GN}" "${APP} setup has been successfully initialized!" diff --git a/ct/centos.sh b/ct/centos.sh new file mode 100644 index 000000000..a6ee3de84 --- /dev/null +++ b/ct/centos.sh @@ -0,0 +1,41 @@ +#!/usr/bin/env bash +source <(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVED/raw/branch/main/misc/build.func) +# Copyright (c) 2021-2025 community-scripts ORG +# Author: MickLesk (CanbiZ) +# License: MIT | https://github.com/community-scripts/ProxmoxVED/raw/main/LICENSE +# Source: https://www.centos.org/centos-stream/ + +APP="CentOS Stream" +var_tags="${var_tags:-os}" +var_cpu="${var_cpu:-1}" +var_ram="${var_ram:-512}" +var_disk="${var_disk:-4}" +var_os="${var_os:-centos}" +var_version="${var_version:-9}" +var_unprivileged="${var_unprivileged:-1}" + +header_info "$APP" +variables +color +catch_errors + +function update_script() { + header_info + check_container_storage + check_container_resources + if [[ ! -d /var ]]; then + msg_error "No ${APP} Installation Found!" + exit + fi + msg_info "Updating $APP LXC" + $STD dnf -y upgrade + msg_ok "Updated $APP LXC" + exit +} + +start +build_container +description + +msg_ok "Completed Successfully!" +msg_custom "🚀" "${GN}" "${APP} setup has been successfully initialized!" diff --git a/ct/devuan.sh b/ct/devuan.sh new file mode 100644 index 000000000..82bd83f83 --- /dev/null +++ b/ct/devuan.sh @@ -0,0 +1,42 @@ +#!/usr/bin/env bash +source <(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVED/raw/branch/main/misc/build.func) +# Copyright (c) 2021-2025 community-scripts ORG +# Author: MickLesk (CanbiZ) +# License: MIT | https://github.com/community-scripts/ProxmoxVED/raw/main/LICENSE +# Source: https://www.devuan.org/ + +APP="Devuan" +var_tags="${var_tags:-os}" +var_cpu="${var_cpu:-1}" +var_ram="${var_ram:-512}" +var_disk="${var_disk:-4}" +var_os="${var_os:-devuan}" +var_version="${var_version:-5.0}" +var_unprivileged="${var_unprivileged:-1}" + +header_info "$APP" +variables +color +catch_errors + +function update_script() { + header_info + check_container_storage + check_container_resources + if [[ ! -d /var ]]; then + msg_error "No ${APP} Installation Found!" + exit + fi + msg_info "Updating $APP LXC" + $STD apt-get update + $STD apt-get -y upgrade + msg_ok "Updated $APP LXC" + exit +} + +start +build_container +description + +msg_ok "Completed Successfully!" +msg_custom "🚀" "${GN}" "${APP} setup has been successfully initialized!" diff --git a/ct/fedora.sh b/ct/fedora.sh new file mode 100644 index 000000000..df252051e --- /dev/null +++ b/ct/fedora.sh @@ -0,0 +1,41 @@ +#!/usr/bin/env bash +source <(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVED/raw/branch/main/misc/build.func) +# Copyright (c) 2021-2025 community-scripts ORG +# Author: MickLesk (CanbiZ) +# License: MIT | https://github.com/community-scripts/ProxmoxVED/raw/main/LICENSE +# Source: https://fedoraproject.org/ + +APP="Fedora" +var_tags="${var_tags:-os}" +var_cpu="${var_cpu:-1}" +var_ram="${var_ram:-512}" +var_disk="${var_disk:-4}" +var_os="${var_os:-fedora}" +var_version="${var_version:-42}" +var_unprivileged="${var_unprivileged:-1}" + +header_info "$APP" +variables +color +catch_errors + +function update_script() { + header_info + check_container_storage + check_container_resources + if [[ ! -d /var ]]; then + msg_error "No ${APP} Installation Found!" + exit + fi + msg_info "Updating $APP LXC" + $STD dnf -y upgrade + msg_ok "Updated $APP LXC" + exit +} + +start +build_container +description + +msg_ok "Completed Successfully!" +msg_custom "🚀" "${GN}" "${APP} setup has been successfully initialized!" diff --git a/ct/gentoo.sh b/ct/gentoo.sh new file mode 100644 index 000000000..fcb006b19 --- /dev/null +++ b/ct/gentoo.sh @@ -0,0 +1,42 @@ +#!/usr/bin/env bash +source <(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVED/raw/branch/main/misc/build.func) +# Copyright (c) 2021-2025 community-scripts ORG +# Author: MickLesk (CanbiZ) +# License: MIT | https://github.com/community-scripts/ProxmoxVED/raw/main/LICENSE +# Source: https://www.gentoo.org/ + +APP="Gentoo" +var_tags="${var_tags:-os}" +var_cpu="${var_cpu:-2}" +var_ram="${var_ram:-1024}" +var_disk="${var_disk:-8}" +var_os="${var_os:-gentoo}" +var_version="${var_version:-current}" +var_unprivileged="${var_unprivileged:-1}" + +header_info "$APP" +variables +color +catch_errors + +function update_script() { + header_info + check_container_storage + check_container_resources + if [[ ! -d /var ]]; then + msg_error "No ${APP} Installation Found!" + exit + fi + msg_info "Updating $APP LXC" + $STD emerge --sync + $STD emerge --quiet --update --deep @world + msg_ok "Updated $APP LXC" + exit +} + +start +build_container +description + +msg_ok "Completed Successfully!" +msg_custom "🚀" "${GN}" "${APP} setup has been successfully initialized!" diff --git a/ct/openeuler.sh b/ct/openeuler.sh new file mode 100644 index 000000000..3600739c2 --- /dev/null +++ b/ct/openeuler.sh @@ -0,0 +1,41 @@ +#!/usr/bin/env bash +source <(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVED/raw/branch/main/misc/build.func) +# Copyright (c) 2021-2025 community-scripts ORG +# Author: MickLesk (CanbiZ) +# License: MIT | https://github.com/community-scripts/ProxmoxVED/raw/main/LICENSE +# Source: https://www.openeuler.org/ + +APP="openEuler" +var_tags="${var_tags:-os}" +var_cpu="${var_cpu:-1}" +var_ram="${var_ram:-512}" +var_disk="${var_disk:-4}" +var_os="${var_os:-openeuler}" +var_version="${var_version:-25.03}" +var_unprivileged="${var_unprivileged:-1}" + +header_info "$APP" +variables +color +catch_errors + +function update_script() { + header_info + check_container_storage + check_container_resources + if [[ ! -d /var ]]; then + msg_error "No ${APP} Installation Found!" + exit + fi + msg_info "Updating $APP LXC" + $STD dnf -y upgrade + msg_ok "Updated $APP LXC" + exit +} + +start +build_container +description + +msg_ok "Completed Successfully!" +msg_custom "🚀" "${GN}" "${APP} setup has been successfully initialized!" diff --git a/ct/opensuse.sh b/ct/opensuse.sh new file mode 100644 index 000000000..08b45460f --- /dev/null +++ b/ct/opensuse.sh @@ -0,0 +1,41 @@ +#!/usr/bin/env bash +source <(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVED/raw/branch/main/misc/build.func) +# Copyright (c) 2021-2025 community-scripts ORG +# Author: MickLesk (CanbiZ) +# License: MIT | https://github.com/community-scripts/ProxmoxVED/raw/main/LICENSE +# Source: https://www.opensuse.org/ + +APP="openSUSE" +var_tags="${var_tags:-os}" +var_cpu="${var_cpu:-1}" +var_ram="${var_ram:-512}" +var_disk="${var_disk:-4}" +var_os="${var_os:-opensuse}" +var_version="${var_version:-15.6}" +var_unprivileged="${var_unprivileged:-1}" + +header_info "$APP" +variables +color +catch_errors + +function update_script() { + header_info + check_container_storage + check_container_resources + if [[ ! -d /var ]]; then + msg_error "No ${APP} Installation Found!" + exit + fi + msg_info "Updating $APP LXC" + $STD zypper -n update + msg_ok "Updated $APP LXC" + exit +} + +start +build_container +description + +msg_ok "Completed Successfully!" +msg_custom "🚀" "${GN}" "${APP} setup has been successfully initialized!" diff --git a/ct/rockylinux.sh b/ct/rockylinux.sh new file mode 100644 index 000000000..5cbd26ee0 --- /dev/null +++ b/ct/rockylinux.sh @@ -0,0 +1,41 @@ +#!/usr/bin/env bash +source <(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVED/raw/branch/main/misc/build.func) +# Copyright (c) 2021-2025 community-scripts ORG +# Author: MickLesk (CanbiZ) +# License: MIT | https://github.com/community-scripts/ProxmoxVED/raw/main/LICENSE +# Source: https://rockylinux.org/ + +APP="Rocky Linux" +var_tags="${var_tags:-os}" +var_cpu="${var_cpu:-1}" +var_ram="${var_ram:-512}" +var_disk="${var_disk:-4}" +var_os="${var_os:-rockylinux}" +var_version="${var_version:-10}" +var_unprivileged="${var_unprivileged:-1}" + +header_info "$APP" +variables +color +catch_errors + +function update_script() { + header_info + check_container_storage + check_container_resources + if [[ ! -d /var ]]; then + msg_error "No ${APP} Installation Found!" + exit + fi + msg_info "Updating $APP LXC" + $STD dnf -y upgrade + msg_ok "Updated $APP LXC" + exit +} + +start +build_container +description + +msg_ok "Completed Successfully!" +msg_custom "🚀" "${GN}" "${APP} setup has been successfully initialized!" diff --git a/frontend/public/json/almalinux.json b/frontend/public/json/almalinux.json new file mode 100644 index 000000000..a4ec83eea --- /dev/null +++ b/frontend/public/json/almalinux.json @@ -0,0 +1,33 @@ +{ + "name": "AlmaLinux", + "slug": "almalinux", + "categories": [0], + "date_created": "2025-12-04", + "type": "ct", + "updateable": true, + "privileged": false, + "interface_port": null, + "documentation": "https://wiki.almalinux.org/", + "website": "https://almalinux.org/", + "logo": "https://cdn.jsdelivr.net/gh/selfhst/icons/webp/almalinux.webp", + "config_path": "", + "description": "AlmaLinux is an open-source, community-driven Linux distribution, 1:1 binary compatible with RHEL. A free alternative to CentOS.", + "install_methods": [ + { + "type": "default", + "script": "ct/almalinux.sh", + "resources": { + "cpu": 1, + "ram": 512, + "hdd": 4, + "os": "almalinux", + "version": "10" + } + } + ], + "default_credentials": { + "username": "root", + "password": null + }, + "notes": [] +} diff --git a/frontend/public/json/alpine.json b/frontend/public/json/alpine.json new file mode 100644 index 000000000..0a399678e --- /dev/null +++ b/frontend/public/json/alpine.json @@ -0,0 +1,33 @@ +{ + "name": "Alpine Linux", + "slug": "alpine", + "categories": [0], + "date_created": "2025-12-04", + "type": "ct", + "updateable": true, + "privileged": false, + "interface_port": null, + "documentation": "https://wiki.alpinelinux.org/", + "website": "https://alpinelinux.org/", + "logo": "https://cdn.jsdelivr.net/gh/selfhst/icons/webp/alpine-linux.webp", + "config_path": "", + "description": "Alpine Linux is a security-oriented, lightweight Linux distribution based on musl libc and busybox. Perfect for containers due to its minimal footprint.", + "install_methods": [ + { + "type": "default", + "script": "ct/alpine.sh", + "resources": { + "cpu": 1, + "ram": 512, + "hdd": 1, + "os": "alpine", + "version": "3.22" + } + } + ], + "default_credentials": { + "username": "root", + "password": null + }, + "notes": [] +} diff --git a/frontend/public/json/centos.json b/frontend/public/json/centos.json new file mode 100644 index 000000000..60b6fe43d --- /dev/null +++ b/frontend/public/json/centos.json @@ -0,0 +1,38 @@ +{ + "name": "CentOS Stream", + "slug": "centos", + "categories": [0], + "date_created": "2025-12-04", + "type": "ct", + "updateable": true, + "privileged": false, + "interface_port": null, + "documentation": "https://docs.centos.org/", + "website": "https://www.centos.org/centos-stream/", + "logo": "https://cdn.jsdelivr.net/gh/selfhst/icons/webp/centos.webp", + "config_path": "", + "description": "CentOS Stream is a continuously delivered Linux distribution that tracks just ahead of RHEL development. The upstream for the next RHEL release.", + "install_methods": [ + { + "type": "default", + "script": "ct/centos.sh", + "resources": { + "cpu": 1, + "ram": 512, + "hdd": 4, + "os": "centos", + "version": "9" + } + } + ], + "default_credentials": { + "username": "root", + "password": null + }, + "notes": [ + { + "text": "CentOS Stream is the upstream development platform for RHEL.", + "type": "info" + } + ] +} diff --git a/frontend/public/json/debian.json b/frontend/public/json/debian.json new file mode 100644 index 000000000..2b1c645da --- /dev/null +++ b/frontend/public/json/debian.json @@ -0,0 +1,33 @@ +{ + "name": "Debian", + "slug": "debian", + "categories": [0], + "date_created": "2025-12-04", + "type": "ct", + "updateable": true, + "privileged": false, + "interface_port": null, + "documentation": "https://www.debian.org/doc/", + "website": "https://www.debian.org/", + "logo": "https://cdn.jsdelivr.net/gh/selfhst/icons/webp/debian.webp", + "config_path": "", + "description": "Debian is a free operating system (OS) that comes with over 59000 packages. It's known for its stability, security, and extensive software repository.", + "install_methods": [ + { + "type": "default", + "script": "ct/debian.sh", + "resources": { + "cpu": 1, + "ram": 512, + "hdd": 4, + "os": "debian", + "version": "13" + } + } + ], + "default_credentials": { + "username": "root", + "password": null + }, + "notes": [] +} diff --git a/frontend/public/json/devuan.json b/frontend/public/json/devuan.json new file mode 100644 index 000000000..d2125c567 --- /dev/null +++ b/frontend/public/json/devuan.json @@ -0,0 +1,38 @@ +{ + "name": "Devuan", + "slug": "devuan", + "categories": [0], + "date_created": "2025-12-04", + "type": "ct", + "updateable": true, + "privileged": false, + "interface_port": null, + "documentation": "https://www.devuan.org/os/documentation", + "website": "https://www.devuan.org/", + "logo": "https://cdn.jsdelivr.net/gh/selfhst/icons/webp/devuan.webp", + "config_path": "", + "description": "Devuan is a fork of Debian without systemd. It uses sysvinit and other alternative init systems, providing freedom of choice.", + "install_methods": [ + { + "type": "default", + "script": "ct/devuan.sh", + "resources": { + "cpu": 1, + "ram": 512, + "hdd": 4, + "os": "devuan", + "version": "5.0" + } + } + ], + "default_credentials": { + "username": "root", + "password": null + }, + "notes": [ + { + "text": "Devuan uses sysvinit instead of systemd.", + "type": "info" + } + ] +} diff --git a/frontend/public/json/fedora.json b/frontend/public/json/fedora.json new file mode 100644 index 000000000..72fef644f --- /dev/null +++ b/frontend/public/json/fedora.json @@ -0,0 +1,33 @@ +{ + "name": "Fedora", + "slug": "fedora", + "categories": [0], + "date_created": "2025-12-04", + "type": "ct", + "updateable": true, + "privileged": false, + "interface_port": null, + "documentation": "https://docs.fedoraproject.org/", + "website": "https://fedoraproject.org/", + "logo": "https://cdn.jsdelivr.net/gh/selfhst/icons/webp/fedora.webp", + "config_path": "", + "description": "Fedora is a cutting-edge Linux distribution sponsored by Red Hat. It features the latest software and technologies while maintaining stability.", + "install_methods": [ + { + "type": "default", + "script": "ct/fedora.sh", + "resources": { + "cpu": 1, + "ram": 512, + "hdd": 4, + "os": "fedora", + "version": "42" + } + } + ], + "default_credentials": { + "username": "root", + "password": null + }, + "notes": [] +} diff --git a/frontend/public/json/gentoo.json b/frontend/public/json/gentoo.json new file mode 100644 index 000000000..d51de9522 --- /dev/null +++ b/frontend/public/json/gentoo.json @@ -0,0 +1,38 @@ +{ + "name": "Gentoo", + "slug": "gentoo", + "categories": [0], + "date_created": "2025-12-04", + "type": "ct", + "updateable": true, + "privileged": false, + "interface_port": null, + "documentation": "https://wiki.gentoo.org/", + "website": "https://www.gentoo.org/", + "logo": "https://cdn.jsdelivr.net/gh/selfhst/icons/webp/gentoo.webp", + "config_path": "", + "description": "Gentoo is a highly customizable source-based Linux distribution. Users compile software optimized for their specific hardware.", + "install_methods": [ + { + "type": "default", + "script": "ct/gentoo.sh", + "resources": { + "cpu": 2, + "ram": 1024, + "hdd": 8, + "os": "gentoo", + "version": "current" + } + } + ], + "default_credentials": { + "username": "root", + "password": null + }, + "notes": [ + { + "text": "Gentoo compiles packages from source. Initial setup may take time.", + "type": "warning" + } + ] +} diff --git a/frontend/public/json/openeuler.json b/frontend/public/json/openeuler.json new file mode 100644 index 000000000..9a39b73e4 --- /dev/null +++ b/frontend/public/json/openeuler.json @@ -0,0 +1,33 @@ +{ + "name": "openEuler", + "slug": "openeuler", + "categories": [0], + "date_created": "2025-12-04", + "type": "ct", + "updateable": true, + "privileged": false, + "interface_port": null, + "documentation": "https://docs.openeuler.org/", + "website": "https://www.openeuler.org/", + "logo": "https://cdn.jsdelivr.net/gh/selfhst/icons/webp/openeuler.webp", + "config_path": "", + "description": "openEuler is an open-source Linux distribution from Huawei. It's designed for servers and cloud computing with enterprise-grade features.", + "install_methods": [ + { + "type": "default", + "script": "ct/openeuler.sh", + "resources": { + "cpu": 1, + "ram": 512, + "hdd": 4, + "os": "openeuler", + "version": "25.03" + } + } + ], + "default_credentials": { + "username": "root", + "password": null + }, + "notes": [] +} diff --git a/frontend/public/json/opensuse.json b/frontend/public/json/opensuse.json new file mode 100644 index 000000000..0e55fcef0 --- /dev/null +++ b/frontend/public/json/opensuse.json @@ -0,0 +1,33 @@ +{ + "name": "openSUSE", + "slug": "opensuse", + "categories": [0], + "date_created": "2025-12-04", + "type": "ct", + "updateable": true, + "privileged": false, + "interface_port": null, + "documentation": "https://doc.opensuse.org/", + "website": "https://www.opensuse.org/", + "logo": "https://cdn.jsdelivr.net/gh/selfhst/icons/webp/opensuse.webp", + "config_path": "", + "description": "openSUSE is a stable, easy-to-use, and complete Linux distribution. Known for its YaST configuration tool and zypper package manager.", + "install_methods": [ + { + "type": "default", + "script": "ct/opensuse.sh", + "resources": { + "cpu": 1, + "ram": 512, + "hdd": 4, + "os": "opensuse", + "version": "15.6" + } + } + ], + "default_credentials": { + "username": "root", + "password": null + }, + "notes": [] +} diff --git a/frontend/public/json/rockylinux.json b/frontend/public/json/rockylinux.json new file mode 100644 index 000000000..9fda2bbbe --- /dev/null +++ b/frontend/public/json/rockylinux.json @@ -0,0 +1,33 @@ +{ + "name": "Rocky Linux", + "slug": "rockylinux", + "categories": [0], + "date_created": "2025-12-04", + "type": "ct", + "updateable": true, + "privileged": false, + "interface_port": null, + "documentation": "https://docs.rockylinux.org/", + "website": "https://rockylinux.org/", + "logo": "https://cdn.jsdelivr.net/gh/selfhst/icons/webp/rocky-linux.webp", + "config_path": "", + "description": "Rocky Linux is an enterprise-grade Linux distribution designed to be 100% bug-for-bug compatible with Red Hat Enterprise Linux (RHEL).", + "install_methods": [ + { + "type": "default", + "script": "ct/rockylinux.sh", + "resources": { + "cpu": 1, + "ram": 512, + "hdd": 4, + "os": "rockylinux", + "version": "10" + } + } + ], + "default_credentials": { + "username": "root", + "password": null + }, + "notes": [] +} diff --git a/frontend/public/json/ubuntu.json b/frontend/public/json/ubuntu.json new file mode 100644 index 000000000..0c4556abc --- /dev/null +++ b/frontend/public/json/ubuntu.json @@ -0,0 +1,33 @@ +{ + "name": "Ubuntu", + "slug": "ubuntu", + "categories": [0], + "date_created": "2025-12-04", + "type": "ct", + "updateable": true, + "privileged": false, + "interface_port": null, + "documentation": "https://help.ubuntu.com/", + "website": "https://ubuntu.com/", + "logo": "https://cdn.jsdelivr.net/gh/selfhst/icons/webp/ubuntu.webp", + "config_path": "", + "description": "Ubuntu is a popular Linux distribution based on Debian. Known for its ease of use and regular release cycle with LTS versions.", + "install_methods": [ + { + "type": "default", + "script": "ct/ubuntu.sh", + "resources": { + "cpu": 1, + "ram": 512, + "hdd": 4, + "os": "ubuntu", + "version": "24.04" + } + } + ], + "default_credentials": { + "username": "root", + "password": null + }, + "notes": [] +} diff --git a/install/almalinux-install.sh b/install/almalinux-install.sh new file mode 100644 index 000000000..222b84c3c --- /dev/null +++ b/install/almalinux-install.sh @@ -0,0 +1,25 @@ +#!/usr/bin/env bash + +# Copyright (c) 2021-2025 community-scripts ORG +# Author: MickLesk (CanbiZ) +# License: MIT | https://github.com/community-scripts/ProxmoxVED/raw/main/LICENSE +# Source: https://almalinux.org/ + +source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" +color +verb_ip6 +catch_errors +setting_up_container +network_check +update_os + +msg_info "Installing Dependencies" +$STD dnf install -y curl wget ca-certificates +msg_ok "Installed Dependencies" + +motd_ssh +customize + +msg_info "Cleaning up" +$STD dnf clean all +msg_ok "Cleaned" diff --git a/install/alpine-install.sh b/install/alpine-install.sh index c8c95c5e0..2916be18f 100644 --- a/install/alpine-install.sh +++ b/install/alpine-install.sh @@ -21,6 +21,5 @@ $STD apk add nano $STD apk add mc msg_ok "Installed Dependencies" - motd_ssh customize diff --git a/install/centos-install.sh b/install/centos-install.sh new file mode 100644 index 000000000..80412d6d1 --- /dev/null +++ b/install/centos-install.sh @@ -0,0 +1,25 @@ +#!/usr/bin/env bash + +# Copyright (c) 2021-2025 community-scripts ORG +# Author: MickLesk (CanbiZ) +# License: MIT | https://github.com/community-scripts/ProxmoxVED/raw/main/LICENSE +# Source: https://www.centos.org/centos-stream/ + +source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" +color +verb_ip6 +catch_errors +setting_up_container +network_check +update_os + +msg_info "Installing Dependencies" +$STD dnf install -y curl wget ca-certificates +msg_ok "Installed Dependencies" + +motd_ssh +customize + +msg_info "Cleaning up" +$STD dnf clean all +msg_ok "Cleaned" diff --git a/install/devuan-install.sh b/install/devuan-install.sh new file mode 100644 index 000000000..4874a2878 --- /dev/null +++ b/install/devuan-install.sh @@ -0,0 +1,26 @@ +#!/usr/bin/env bash + +# Copyright (c) 2021-2025 community-scripts ORG +# Author: MickLesk (CanbiZ) +# License: MIT | https://github.com/community-scripts/ProxmoxVED/raw/main/LICENSE +# Source: https://www.devuan.org/ + +source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" +color +verb_ip6 +catch_errors +setting_up_container +network_check +update_os + +msg_info "Installing Dependencies" +$STD apt-get install -y curl wget ca-certificates +msg_ok "Installed Dependencies" + +motd_ssh +customize + +msg_info "Cleaning up" +$STD apt-get -y autoremove +$STD apt-get -y autoclean +msg_ok "Cleaned" diff --git a/install/fedora-install.sh b/install/fedora-install.sh new file mode 100644 index 000000000..c24e08823 --- /dev/null +++ b/install/fedora-install.sh @@ -0,0 +1,25 @@ +#!/usr/bin/env bash + +# Copyright (c) 2021-2025 community-scripts ORG +# Author: MickLesk (CanbiZ) +# License: MIT | https://github.com/community-scripts/ProxmoxVED/raw/main/LICENSE +# Source: https://fedoraproject.org/ + +source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" +color +verb_ip6 +catch_errors +setting_up_container +network_check +update_os + +msg_info "Installing Dependencies" +$STD dnf install -y curl wget ca-certificates +msg_ok "Installed Dependencies" + +motd_ssh +customize + +msg_info "Cleaning up" +$STD dnf clean all +msg_ok "Cleaned" diff --git a/install/gentoo-install.sh b/install/gentoo-install.sh new file mode 100644 index 000000000..494bc467b --- /dev/null +++ b/install/gentoo-install.sh @@ -0,0 +1,25 @@ +#!/usr/bin/env bash + +# Copyright (c) 2021-2025 community-scripts ORG +# Author: MickLesk (CanbiZ) +# License: MIT | https://github.com/community-scripts/ProxmoxVED/raw/main/LICENSE +# Source: https://www.gentoo.org/ + +source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" +color +verb_ip6 +catch_errors +setting_up_container +network_check +update_os + +msg_info "Installing Dependencies" +$STD emerge --quiet net-misc/curl net-misc/wget app-misc/ca-certificates +msg_ok "Installed Dependencies" + +motd_ssh +customize + +msg_info "Cleaning up" +$STD emerge --quiet --depclean +msg_ok "Cleaned" diff --git a/install/openeuler-install.sh b/install/openeuler-install.sh new file mode 100644 index 000000000..772f652e8 --- /dev/null +++ b/install/openeuler-install.sh @@ -0,0 +1,25 @@ +#!/usr/bin/env bash + +# Copyright (c) 2021-2025 community-scripts ORG +# Author: MickLesk (CanbiZ) +# License: MIT | https://github.com/community-scripts/ProxmoxVED/raw/main/LICENSE +# Source: https://www.openeuler.org/ + +source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" +color +verb_ip6 +catch_errors +setting_up_container +network_check +update_os + +msg_info "Installing Dependencies" +$STD dnf install -y curl wget ca-certificates +msg_ok "Installed Dependencies" + +motd_ssh +customize + +msg_info "Cleaning up" +$STD dnf clean all +msg_ok "Cleaned" diff --git a/install/opensuse-install.sh b/install/opensuse-install.sh new file mode 100644 index 000000000..ebb42a7e7 --- /dev/null +++ b/install/opensuse-install.sh @@ -0,0 +1,25 @@ +#!/usr/bin/env bash + +# Copyright (c) 2021-2025 community-scripts ORG +# Author: MickLesk (CanbiZ) +# License: MIT | https://github.com/community-scripts/ProxmoxVED/raw/main/LICENSE +# Source: https://www.opensuse.org/ + +source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" +color +verb_ip6 +catch_errors +setting_up_container +network_check +update_os + +msg_info "Installing Dependencies" +$STD zypper install -y curl wget ca-certificates +msg_ok "Installed Dependencies" + +motd_ssh +customize + +msg_info "Cleaning up" +$STD zypper clean +msg_ok "Cleaned" diff --git a/install/rockylinux-install.sh b/install/rockylinux-install.sh new file mode 100644 index 000000000..598606531 --- /dev/null +++ b/install/rockylinux-install.sh @@ -0,0 +1,25 @@ +#!/usr/bin/env bash + +# Copyright (c) 2021-2025 community-scripts ORG +# Author: MickLesk (CanbiZ) +# License: MIT | https://github.com/community-scripts/ProxmoxVED/raw/main/LICENSE +# Source: https://rockylinux.org/ + +source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" +color +verb_ip6 +catch_errors +setting_up_container +network_check +update_os + +msg_info "Installing Dependencies" +$STD dnf install -y curl wget ca-certificates +msg_ok "Installed Dependencies" + +motd_ssh +customize + +msg_info "Cleaning up" +$STD dnf clean all +msg_ok "Cleaned"