Compare commits

..

2 Commits

Author SHA1 Message Date
github-actions[bot]
2b074f50a9 Update CHANGELOG.md 2026-04-04 20:05:29 +00:00
Andrey Viktorov
0b24786695 komodo: set PERIPHERY_CORE_PUBLIC_KEYS to default value if absent (#13519) 2026-04-04 22:05:10 +02:00
2 changed files with 14 additions and 0 deletions

View File

@@ -429,6 +429,14 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
</details>
## 2026-04-04
### 🧰 Tools
- #### 🐞 Bug Fixes
- komodo: set `PERIPHERY_CORE_PUBLIC_KEYS` to default value if absent [@4ndv](https://github.com/4ndv) ([#13519](https://github.com/community-scripts/ProxmoxVE/pull/13519))
## 2026-04-03
### 🆕 New Scripts

View File

@@ -111,6 +111,12 @@ function update() {
sed -i '/^KOMODO_PASSKEY=/d' "$COMPOSE_ENV"
fi
# === v2 migration: ensure PERIPHERY_CORE_PUBLIC_KEYS is set ===
if ! grep -q 'PERIPHERY_CORE_PUBLIC_KEYS' "$COMPOSE_ENV"; then
echo '## Use the public key generated by Core.' >> "$COMPOSE_ENV"
echo 'PERIPHERY_CORE_PUBLIC_KEYS=file:/config/keys/core.pub' >> "$COMPOSE_ENV"
fi
# === ensure backups path is set ===
if ! grep -q 'COMPOSE_KOMODO_BACKUPS_PATH=' "$COMPOSE_ENV"; then
echo 'COMPOSE_KOMODO_BACKUPS_PATH=/etc/komodo/backups' >>"$COMPOSE_ENV"