feat: add hosts/ convention for centrally managed server .bashrc.local
- hosts/etqc-kenjim-11.bashrc.local: per-host local config for work server, managed from kenjim-mbp and deployed via 'dotfiles deploy-to'. Credentials replaced with CHANGEME placeholders — set real values on server after first deploy, never commit actual secrets. - dotfiles_manager.sh: deploy-to step 5 auto-detects hosts/<hostname>.bashrc.local and SCPs it to ~/.bashrc.local on the remote (with backup of existing file) - .gitignore: clarify that hosts/*.bashrc.local is intentionally tracked (existing .bashrc.local rule only matches the exact filename) - README.md: document hosts/ layout, workflow, and credential placeholder strategy
This commit is contained in:
6
.gitignore
vendored
6
.gitignore
vendored
@@ -33,6 +33,10 @@
|
||||
*.secrets
|
||||
vault/
|
||||
|
||||
# Machine-local overrides — never commit (written by setup_enterprise_ai_bash.sh)
|
||||
# Machine-local overrides at HOME level — never commit (written by setup_enterprise_ai_bash.sh)
|
||||
.bashrc.local
|
||||
.bash_profile.local
|
||||
|
||||
# Per-host .bashrc.local files ARE committed — managed centrally in dotfiles/hosts/
|
||||
# Files are named <hostname>.bashrc.local and deployed via: dotfiles deploy-to user@host
|
||||
# hosts/*.bashrc.local is intentionally tracked (gitignore rules above only match exact name)
|
||||
|
||||
Reference in New Issue
Block a user