Skip to content

proxmox/chr_install.sh: verify CHR version exists; harden version handling - #17

Merged
gpas45 merged 2 commits into
mainfrom
claude/gifted-archimedes-ujs7a4
Jun 12, 2026
Merged

proxmox/chr_install.sh: verify CHR version exists; harden version handling#17
gpas45 merged 2 commits into
mainfrom
claude/gifted-archimedes-ujs7a4

Conversation

@gpas45

@gpas45 gpas45 commented Jun 12, 2026

Copy link
Copy Markdown
Owner

Follow-up to #16.

MikroTik's legacy NEWEST* / LATEST.* version feeds turned out to be frozen at 7.12.1 (Nov 2023) and no longer reflect current releases, so auto-suggesting a "latest" version was misleading.

Changes:

  • Replace the unreliable latest-version lookup with a prompt loop that validates the version format and confirms the CHR image actually exists on the download server (HEAD request via wget --spider) before proceeding, re-prompting on invalid/missing versions.
  • Point users to https://mikrotik.com/download for current Long-term / Stable versions.
  • Drop the now-unused upgrade-server endpoint variable.

https://claude.ai/code/session_016rtazH8tiWw4fqCuLcEPFC


Generated by Claude Code

claude added 2 commits June 12, 2026 15:54
The NEWESTv7.<channel> path returns 404; the working path is
NEWEST7.<channel>. Also reject placeholder values like '0.00' so an
empty branch does not get offered as a default version.
…atest lookup

MikroTik's legacy NEWEST*/LATEST.* version feeds are frozen at 7.12.1 and
no longer reflect current releases, so auto-suggesting a 'latest' version
was misleading. Replace it with a prompt loop that validates the version
format and confirms the CHR image actually exists on the download server
(HEAD request) before proceeding, re-prompting on invalid/missing versions.
Point users to https://mikrotik.com/download for current Long-term/Stable.
@gpas45
gpas45 merged commit 9489549 into main Jun 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants