Files
ProxmoxVE/install/evcc-install.sh

35 lines
781 B
Bash
Raw Normal View History

2024-10-15 11:49:56 +02:00
#!/usr/bin/env bash
# Copyright (c) 2021-2025 tteck
2024-10-15 11:49:56 +02:00
# Author: tteck
# Co-Author: MickLesk (Canbiz)
# 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
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"
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
systemctl enable -q --now evcc
2024-10-15 11:49:56 +02:00
msg_ok "Installed evcc"
motd_ssh
customize
cleanup_lxc