mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-06-27 20:06:52 +00:00
Update
This commit is contained in:
parent
c57a46403e
commit
dad0d30957
@ -156,12 +156,12 @@ apt_upgrade() {
|
||||
msg_ok "$(translate "Free public Proxmox repository enabled")"
|
||||
fi
|
||||
|
||||
# Enable Proxmox testing repository
|
||||
if [ ! -f /etc/apt/sources.list.d/pve-testing-repo.list ] || ! grep -q "pvetest" /etc/apt/sources.list.d/pve-testing-repo.list; then
|
||||
msg_info "$(translate "Enabling Proxmox testing repository...")"
|
||||
echo -e "deb http://download.proxmox.com/debian/pve ${OS_CODENAME} pvetest\\n" > /etc/apt/sources.list.d/pve-testing-repo.list
|
||||
msg_ok "$(translate "Proxmox testing repository enabled")"
|
||||
fi
|
||||
# # Enable Proxmox testing repository
|
||||
# if [ ! -f /etc/apt/sources.list.d/pve-testing-repo.list ] || ! grep -q "pvetest" /etc/apt/sources.list.d/pve-testing-repo.list; then
|
||||
# msg_info "$(translate "Enabling Proxmox testing repository...")"
|
||||
# echo -e "deb http://download.proxmox.com/debian/pve ${OS_CODENAME} pvetest\\n" > /etc/apt/sources.list.d/pve-testing-repo.list
|
||||
# msg_ok "$(translate "Proxmox testing repository enabled")"
|
||||
# fi
|
||||
|
||||
# Configure main Debian repositories
|
||||
if ! grep -q "${OS_CODENAME}-security" /etc/apt/sources.list; then
|
||||
@ -2145,6 +2145,26 @@ configure_fastfetch() {
|
||||
|
||||
|
||||
|
||||
# ==========================================================
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
add_repo_test() {
|
||||
msg_info2 "$(translate "Enable Proxmox testing repository...")"
|
||||
# Enable Proxmox testing repository
|
||||
if [ ! -f /etc/apt/sources.list.d/pve-testing-repo.list ] || ! grep -q "pvetest" /etc/apt/sources.list.d/pve-testing-repo.list; then
|
||||
msg_info "$(translate "Enabling Proxmox testing repository...")"
|
||||
echo -e "deb http://download.proxmox.com/debian/pve ${OS_CODENAME} pvetest\\n" > /etc/apt/sources.list.d/pve-testing-repo.list
|
||||
msg_ok "$(translate "Proxmox testing repository enabled")"
|
||||
fi
|
||||
msg_success "$(translate "Proxmox testing repository has been successfully enabled")"
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@ -2154,6 +2174,7 @@ configure_fastfetch() {
|
||||
|
||||
|
||||
|
||||
|
||||
# Main menu function
|
||||
main_menu() {
|
||||
local HEADER=$(printf " %-56s %10s" "$(translate "Description")" "$(translate "Category")")
|
||||
@ -2207,6 +2228,7 @@ local options=(
|
||||
"Performance|Use pigz for faster gzip compression|PIGZ"
|
||||
"Optional|Install and configure Fastfetch|FASTFETCH"
|
||||
"Optional|Add latest Ceph support|CEPH"
|
||||
"Optional|Add Proxmox testing repository|REPOTEST"
|
||||
"Optional|Enable High Availability services|ENABLE_HA"
|
||||
)
|
||||
|
||||
@ -2384,6 +2406,9 @@ for index in "${!sorted_options[@]}"; do
|
||||
CEPH)
|
||||
install_ceph
|
||||
;;
|
||||
REPOTEST)
|
||||
add_repo_test
|
||||
;;
|
||||
ENABLE_HA)
|
||||
enable_ha
|
||||
;;
|
||||
|
@ -326,10 +326,6 @@ sudo timedatectl set-timezone "$TIMEZONE"
|
||||
<strong>Added:</strong> Free public Proxmox repository (pve-public-repo.list) - This provides access to free
|
||||
Proxmox VE updates and packages.
|
||||
</li>
|
||||
<li>
|
||||
<strong>Added:</strong> Proxmox testing repository (pve-testing-repo.list) - This repository contains the
|
||||
latest, potentially unstable updates for testing purposes.
|
||||
</li>
|
||||
<li>
|
||||
<strong>Configured:</strong> Main Debian repositories - These provide access to the core Debian packages and
|
||||
security updates.
|
||||
@ -351,8 +347,6 @@ fi
|
||||
# Enable free public Proxmox repository
|
||||
echo "deb http://download.proxmox.com/debian/pve $(lsb_release -cs) pve-no-subscription" | sudo tee /etc/apt/sources.list.d/pve-public-repo.list
|
||||
|
||||
# Enable Proxmox testing repository
|
||||
echo "deb http://download.proxmox.com/debian/pve $(lsb_release -cs) pvetest" | sudo tee /etc/apt/sources.list.d/pve-testing-repo.list
|
||||
|
||||
# Configure main Debian repositories
|
||||
cat <<EOF | sudo tee /etc/apt/sources.list
|
||||
|
BIN
web/public/basic/tmux.png
Normal file
BIN
web/public/basic/tmux.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 706 KiB |
Loading…
x
Reference in New Issue
Block a user