2023-03-22 20:48:20 -04:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
2026-01-06 13:28:12 +01:00
|
|
|
# Copyright (c) 2021-2026 tteck
|
2023-03-22 20:48:20 -04:00
|
|
|
# Author: tteck (tteckster)
|
2025-03-04 17:54:20 +01:00
|
|
|
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
2026-02-24 15:11:53 +01:00
|
|
|
# Source: https://www.iobroker.net/#en/intro | Github: https://github.com/ioBroker/ioBroker.js-controller
|
2023-03-22 20:48:20 -04:00
|
|
|
|
2025-03-24 14:20:56 +01:00
|
|
|
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
|
2023-03-22 20:48:20 -04:00
|
|
|
color
|
|
|
|
|
verb_ip6
|
|
|
|
|
catch_errors
|
|
|
|
|
setting_up_container
|
|
|
|
|
network_check
|
|
|
|
|
update_os
|
|
|
|
|
|
|
|
|
|
msg_info "Installing Dependencies"
|
2025-11-12 10:56:18 +01:00
|
|
|
$STD apt install -y ca-certificates
|
2023-03-22 20:48:20 -04:00
|
|
|
msg_ok "Installed Dependencies"
|
|
|
|
|
|
2025-09-10 14:37:12 +02:00
|
|
|
msg_warn "WARNING: This script will run an external installer from a third-party source (https://iobroker.net/)."
|
|
|
|
|
msg_warn "The following code is NOT maintained or audited by our repository."
|
|
|
|
|
msg_warn "If you have any doubts or concerns, please review the installer code before proceeding:"
|
|
|
|
|
msg_custom "${TAB3}${GATEWAY}${BGN}${CL}" "\e[1;34m" "→ https://iobroker.net/install.sh"
|
|
|
|
|
echo
|
|
|
|
|
read -r -p "${TAB3}Do you want to continue? [y/N]: " CONFIRM
|
|
|
|
|
if [[ ! "$CONFIRM" =~ ^([yY][eE][sS]|[yY])$ ]]; then
|
|
|
|
|
msg_error "Aborted by user. No changes have been made."
|
|
|
|
|
exit 10
|
|
|
|
|
fi
|
|
|
|
|
|
2026-09-13 20:07:45 +02:00
|
|
|
NODE_VERSION="24" NPM_VERSION="11" setup_nodejs
|
2024-01-01 12:39:57 -05:00
|
|
|
|
2023-03-22 20:48:20 -04:00
|
|
|
msg_info "Installing ioBroker (Patience)"
|
|
|
|
|
$STD bash <(curl -fsSL https://iobroker.net/install.sh)
|
|
|
|
|
msg_ok "Installed ioBroker"
|
|
|
|
|
|
|
|
|
|
motd_ssh
|
2023-05-15 07:39:30 -04:00
|
|
|
customize
|
2025-11-12 10:56:18 +01:00
|
|
|
cleanup_lxc
|