NFS-aware .bashrc.local and VS Code dirs for work servers
- Remove zet* from _is_work_host (local git server, not a work host) - setup_enterprise_ai_bash.sh: detect NFS home on work servers, relocate .bashrc.local to /opt/kenjim/ with symlink, handle re-runs safely - setup_enterprise_ai_bash.sh: symlink ~/.vscode-server and ~/.vscode-remote-containers to /opt/kenjim/ on NFS hosts - dotfiles_manager.sh: deploy-to detects NFS on remote, deploys .bashrc.local to /opt/kenjim/ with symlink, backs up symlink targets - hosts/etqc-kenjim-11.bashrc.local: add NFS note to header
This commit is contained in:
@@ -14,7 +14,7 @@ _is_work_host() {
|
||||
[[ "${MACHINE_PROFILE:-}" == "work" ]] && return 0
|
||||
# Fallback hostname pattern for work servers where .bashrc.local may not exist
|
||||
case "$(hostname -s)" in
|
||||
kenjim-mbp*|etqc-*|etbg-*|engtech-dev-*|zet*) return 0 ;;
|
||||
kenjim-mbp*|etqc-*|etbg-*|engtech-dev-*) return 0 ;;
|
||||
*) return 1 ;;
|
||||
esac
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user