Repository navigation
Commit 937ce1e
committed
fix(start.sh): persist devstack env to ~/.devstack-env for --shell/--ssh shells
start.sh computes LPB_* vars and bare-name aliases (e.g. EXA_API_KEY) but
only in its own process. SSH login shells and 'podman exec bash' reattachments
start fresh and miss them, so EXA_API_KEY was empty in --ssh/--shell sessions.
Add persist_devstack_env() to write the resolved, non-empty env set to
~/.devstack-env (chmod 600) and idempotently source it from ~/.bashrc and
~/.profile. Covers SSH login (interactive + non-interactive) and interactive
exec shells.1 parent ff39c10 commit 937ce1e
1 file changed
Lines changed: 34 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
315 | 315 | | |
316 | 316 | | |
317 | 317 | | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
318 | 352 | | |
319 | 353 | | |
320 | 354 | | |
| |||
0 commit comments