mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-05-19 15:15:04 +00:00
bump grafana to debian 13 (#9141)
* Update default Debian version to 13
* Remove software-properties-common from dependencies
Removed installation of 'software-properties-common' from dependencies.
* Update Debian version from 12 to 13
* Changed apt-get to apt
* Changed to new func setup_deb822_repo
* Replaced ${APP} with Grafana
* Refine update_script to use deb822 repo and grafana-only upgrade
* Using cleanup_lxc
* Wrong header_info in update_script()
* Remove unnecessary line break in dependency installation
* Simplify Grafana installation script
Removed unnecessary repository setup commands and updated the script for Grafana installation.
* Update Grafana repository setup in install script
Added repository details for Grafana installation.
---------
Co-authored-by: Tobias <96661824+CrazyWolf13@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
e373648787
commit
022abe7ba4
+11
-14
@@ -14,26 +14,23 @@ network_check
|
||||
update_os
|
||||
|
||||
msg_info "Installing Dependencies"
|
||||
$STD apt-get install -y \
|
||||
apt-transport-https \
|
||||
software-properties-common
|
||||
$STD apt install -y apt-transport-https
|
||||
msg_ok "Installed Dependencies"
|
||||
|
||||
msg_info "Setting up Grafana Repository"
|
||||
curl -fsSL "https://apt.grafana.com/gpg.key" -o "/usr/share/keyrings/grafana.key"
|
||||
echo "deb [signed-by=/usr/share/keyrings/grafana.key] https://apt.grafana.com stable main" >/etc/apt/sources.list.d/grafana.list
|
||||
msg_ok "Set up Grafana Repository"
|
||||
setup_deb822_repo \
|
||||
"grafana" \
|
||||
"https://apt.grafana.com/gpg.key" \
|
||||
"https://apt.grafana.com" \
|
||||
"stable" \
|
||||
"main"
|
||||
msg_ok "Grafana Repository setup sucessfully"
|
||||
|
||||
msg_info "Installing Grafana"
|
||||
$STD apt-get update
|
||||
$STD apt-get install -y grafana
|
||||
systemctl enable -q --now grafana-server
|
||||
$STD apt install -y grafana
|
||||
systemctl enable -q --now grafana-server
|
||||
msg_ok "Installed Grafana"
|
||||
|
||||
motd_ssh
|
||||
customize
|
||||
|
||||
msg_info "Cleaning up"
|
||||
$STD apt-get -y autoremove
|
||||
$STD apt-get -y autoclean
|
||||
msg_ok "Cleaned"
|
||||
cleanup_lxc
|
||||
|
||||
Reference in New Issue
Block a user