forked from heavy-duty/rig
cloud-init's runcmd runs the installer with no $HOME, and under set -u the first expansion died with an unbound-variable stack instead of an install — found live by box#88's seed, which pins HOME=/root as its own scar. Derive the home from getent for the effective user (root included) before any path comes from $HOME; when getent has no answer either, refuse by name instead of a bash stack. Driven with a shim getent: the derived-home install lands, and the no-answer refusal is pinned. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| cli.sh | ||
| db-integration.sh | ||
| labels-reconcile.sh | ||
| release.sh | ||