2024-10-15 11:49:56 +02:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
2025-01-01 13:37:29 +01:00
|
|
|
# Copyright (c) 2021-2025 tteck
|
2024-10-15 11:49:56 +02:00
|
|
|
# Author: tteck
|
|
|
|
|
# Co-Author: MickLesk (Canbiz)
|
2025-03-04 17:54:20 +01:00
|
|
|
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
2024-10-15 11:49:56 +02:00
|
|
|
# Source: https://github.com/evcc-io/evcc
|
|
|
|
|
|
2025-03-24 14:20:56 +01:00
|
|
|
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
|
2024-10-15 11:49:56 +02:00
|
|
|
color
|
|
|
|
|
verb_ip6
|
|
|
|
|
catch_errors
|
|
|
|
|
setting_up_container
|
|
|
|
|
network_check
|
|
|
|
|
update_os
|
|
|
|
|
|
|
|
|
|
msg_info "Setting up evcc Repository"
|
2025-11-12 08:54:46 +01:00
|
|
|
setup_deb822_repo \
|
|
|
|
|
"evcc-stable" \
|
|
|
|
|
"https://dl.evcc.io/public/evcc/stable/gpg.EAD5D0E07B0EC0FD.key" \
|
|
|
|
|
"https://dl.evcc.io/public/evcc/stable/deb/debian/" \
|
|
|
|
|
"$(get_os_info codename)" \
|
|
|
|
|
"main"
|
2024-10-15 11:49:56 +02:00
|
|
|
$STD apt update
|
|
|
|
|
msg_ok "evcc Repository setup sucessfully"
|
|
|
|
|
|
|
|
|
|
msg_info "Installing evcc"
|
|
|
|
|
$STD apt install -y evcc
|
2025-04-01 20:22:40 +02:00
|
|
|
systemctl enable -q --now evcc
|
2024-10-15 11:49:56 +02:00
|
|
|
msg_ok "Installed evcc"
|
|
|
|
|
|
|
|
|
|
motd_ssh
|
|
|
|
|
customize
|
2025-11-12 08:54:46 +01:00
|
|
|
cleanup_lxc
|