mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-11-17 11:05:15 +00:00
* 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>
37 lines
790 B
Bash
37 lines
790 B
Bash
#!/usr/bin/env bash
|
|
|
|
# Copyright (c) 2021-2025 tteck
|
|
# Author: tteck (tteckster)
|
|
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
|
# Source: https://grafana.com/
|
|
|
|
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
|
|
color
|
|
verb_ip6
|
|
catch_errors
|
|
setting_up_container
|
|
network_check
|
|
update_os
|
|
|
|
msg_info "Installing Dependencies"
|
|
$STD apt install -y apt-transport-https
|
|
msg_ok "Installed Dependencies"
|
|
|
|
msg_info "Setting 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 install -y grafana
|
|
systemctl enable -q --now grafana-server
|
|
msg_ok "Installed Grafana"
|
|
|
|
motd_ssh
|
|
customize
|
|
cleanup_lxc
|