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.
This commit is contained in:
CanbiZ
2025-12-04 14:48:51 +01:00
parent 52cb37c46a
commit 235d217b36
28 changed files with 909 additions and 1 deletions

View File

@@ -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"

View File

@@ -21,6 +21,5 @@ $STD apk add nano
$STD apk add mc
msg_ok "Installed Dependencies"
motd_ssh
customize

25
install/centos-install.sh Normal file
View File

@@ -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"

26
install/devuan-install.sh Normal file
View File

@@ -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"

25
install/fedora-install.sh Normal file
View File

@@ -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"

25
install/gentoo-install.sh Normal file
View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"