added taas machines as work type machines
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-*) return 0 ;;
|
||||
kenjim-mbp*|etqc-*|etbg-*|engtech-dev-*|qnc-kenjim-toby-shell*|qtaas*|bng-kenjim-toby-shell*|btaas*) return 0 ;;
|
||||
*) return 1 ;;
|
||||
esac
|
||||
}
|
||||
|
||||
@@ -192,7 +192,7 @@ echo "✅ .bashrc.local written for profile: $MACHINE_PROFILE"
|
||||
if [[ "$MACHINE_PROFILE" == "work" ]]; then
|
||||
_is_nfs_home=false
|
||||
case "$(hostname -s)" in
|
||||
etqc-*|etbg-*|engtech-dev-*)
|
||||
etqc-*|etbg-*|engtech-dev-*|qnc-kenjim-toby-shell*|qtaas*|bng-kenjim-toby-shell*|btaas*)
|
||||
if df -P "$HOME" 2>/dev/null | tail -1 | grep -qE ':|nfs'; then
|
||||
_is_nfs_home=true
|
||||
elif mount | grep -q "on ${HOME%%/} .*type nfs"; then
|
||||
|
||||
Reference in New Issue
Block a user