21 Commits

Author SHA1 Message Date
jared 164b58df3c Add CI badge and CI section to README
Lint / Shell (shellcheck) (push) Successful in 15s
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-14 13:07:11 -04:00
jared cb450ef079 ci: fix SC2162 in update_api_key.sh — add -r flag to read
Lint / Shell (shellcheck) (push) Successful in 18s
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-14 00:13:11 -04:00
jared a73d754fba ci: add shellcheck lint workflow; fix 5 violations
Lint / Shell (shellcheck) (push) Failing after 11s
Adds shellcheck disable comments for intentional word-splitting on
\$COMMON_PKGS package list (SC2086). Adds -r flag to read (SC2162).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-13 23:40:51 -04:00
jared d5121c56f3 Fix: never overwrite existing hwmonDaemon .env on re-runs
If /etc/hwmonDaemon/.env already exists and has a real API key,
skip the prompt and preserve the file entirely. Only write a new
.env when none exists or it still has the placeholder value.
Safe to run freshStart.sh on existing hosts.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-22 14:32:16 -04:00
jared eeea0ebdfa Add NUT UPS client installation for new cluster nodes
When freshStart.sh runs on a new PVE node, it now installs nut-client,
configures MODE=netclient, and writes upsmon.conf pointing to monitor-02
as slave — prompts for NUT_PASSWORD during setup.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-22 14:27:45 -04:00
jared 8232ff497d Add Promtail log agent deployment alongside node_exporter
Installs Promtail (Grafana Loki agent) to ship host logs to the
central Loki instance at 10.10.10.69:3100. Scrapes syslog, auth,
kernel, daemon, pveproxy, pvedaemon, pve-tasks, ceph, and systemd
journal logs with per-host labeling.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-14 12:00:07 -05:00
jared d5d6038a53 Add PBS platform detection and expanded .env configuration
Detects PVE vs PBS at startup, installs platform-specific packages
(iperf3/fio for PVE, zfsutils-linux for PBS), and generates .env
with all hwmonDaemon config options pre-populated based on platform.

Fixes: LotusGuild/hwmonDaemon#5

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-10 13:20:04 -05:00
jared 2b8d3a7e38 Update freshStart.sh 2026-01-25 15:15:25 -05:00
jared 3e02e84f10 Merge branch 'main' of 10.10.10.63:LotusGuild/freshStartScript 2026-01-01 16:01:39 -05:00
jared bc50fd7348 Added api key for hwmonDaemon 2026-01-01 16:00:44 -05:00
jared a1434ea266 Update freshStart.sh 2025-12-22 18:03:05 -05:00
jared 900d554147 Update README.md 2025-12-01 10:52:27 -05:00
jared a300f544bb Update freshStart.sh 2025-11-29 15:50:14 -05:00
jared 2e6ab62c66 Update freshStart.sh 2025-11-25 20:48:44 -05:00
jared 96f61d4468 Update freshStart.sh 2025-11-25 20:47:10 -05:00
jared 31b5512841 Update freshStart.sh 2025-11-25 20:46:43 -05:00
jared 280f41285b Update freshStart.sh 2025-11-25 20:45:45 -05:00
jared 29f0157436 added rsync 2025-09-03 15:03:14 -04:00
jared d7d473270e Updated error handling and bug 2025-09-03 13:43:46 -04:00
jared 5b0b2ce43c Added lm-sensors for proxdoc and neofetch for fun 2025-07-24 20:07:43 -04:00
jared f050b8de06 First initial commit 2024-12-08 15:05:13 -05:00