Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions full-ai-cluster/nixos/modules/common.nix
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,16 @@
skopeo
kubectl kubernetes-helm k9s argocd
cilium-cli hubble

# B-0835 fix (Aaron 2026-05-27 control-plane install): gh CLI was
# available in the installer ISO's PATH (iter-5.4.0 used it for
# `gh auth login` during install) but NOT in the installed system's
# PATH after reboot. Operator empirically hit "gh: command not found"
# on first login. The gh-auth tokens stored in ~/.config/gh during
# install are useless without the binary. gh stays in systemPackages
# for ongoing operator workflows (re-auth, ssh-key sync, future
# node-register tooling).
gh
];

boot.loader = {
Expand Down
7 changes: 6 additions & 1 deletion full-ai-cluster/usb-nixos-installer/zeta-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -778,7 +778,12 @@ if [ "$GH_AUTH_OK" = 1 ]; then
# Storage lines: indented 6 spaces to nest under spec.hardware.storage
# (Copilot finding on #5352 — was a sibling of `hardware:` at 4 spaces; the
# B-0813 schema places storage under hardware block).
STORAGE_LINES=$(lsblk -ndo NAME,SIZE,TYPE -e7 2>/dev/null | awk '$3=="disk"{print " - \"/dev/" $1 " " $2 "\""}' || echo "")
# Filter zero-size devices ($2 != "0B"): empty SD card readers, optical
# bays, and other placeholder block devices show up in `lsblk -ndo`
# output with SIZE=0B and confuse any reconciler that interprets the
# storage list as usable. Copilot finding on PR #5380 (Aaron's
# 2026-05-27 control-plane registration surfaced `/dev/sda 0B`).
STORAGE_LINES=$(lsblk -ndo NAME,SIZE,TYPE -e7 2>/dev/null | awk '$3=="disk" && $2!="0B"{print " - \"/dev/" $1 " " $2 "\""}' || echo "")
REG_TIMESTAMP=$(date -u +"%Y-%m-%dT%H:%M:%SZ")
FLAKE_COMMIT=$(git -C /mnt/etc/zeta rev-parse HEAD 2>/dev/null | head -c 12 || echo "unknown")

Expand Down
Loading