mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-04-18 00:12:17 +00:00
- checkmk: use github_api_call+jq for tag fetch, get_os_info codename in deb URL, strip +security suffix, bump default to Debian 13 - cockpit: remove source /etc/os-release, use get_os_info codename for backports suite/install, get_os_version_major for version check - flaresolverr: replace raw grep on /etc/os-release with get_os_version_major - lldap: remove source /etc/os-release, use get_os_info id+version for repo URL - mqtt: remove unused source /etc/os-release - pangolin: replace . /etc/os-release + VERSION_CODENAME with get_os_info codename - paperless-ngx: replace both . /etc/os-release + VERSION_CODENAME checks with get_os_info codename - photoprism: replace hardcoded bookworm in libheif URL with get_os_info codename - proxmox-datacenter-manager: replace grep on os-release string with get_os_version_major - wireguard: replace . /etc/os-release + VERSION_CODENAME with get_os_info codename - zabbix: replace . /etc/os-release + VERSION_CODENAME with get_os_info codename
31 lines
635 B
Bash
31 lines
635 B
Bash
#!/usr/bin/env bash
|
|
|
|
# Copyright (c) 2021-2026 tteck
|
|
# Author: tteck (tteckster)
|
|
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
|
# Source: https://mosquitto.org/
|
|
|
|
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
|
|
color
|
|
verb_ip6
|
|
catch_errors
|
|
setting_up_container
|
|
network_check
|
|
update_os
|
|
|
|
msg_info "Installing Mosquitto MQTT Broker"
|
|
$STD apt update
|
|
$STD apt -y install mosquitto mosquitto-clients
|
|
|
|
cat <<EOF >/etc/mosquitto/conf.d/default.conf
|
|
allow_anonymous false
|
|
persistence true
|
|
password_file /etc/mosquitto/passwd
|
|
listener 1883
|
|
EOF
|
|
msg_ok "Installed Mosquitto MQTT Broker"
|
|
|
|
motd_ssh
|
|
customize
|
|
cleanup_lxc
|