bash config

This commit is contained in:
Chris Wanstrath 2025-09-22 12:43:53 -07:00
parent 56007e1d1c
commit c6dcf5d4ea
3 changed files with 7 additions and 5 deletions

5
scripts/config.sh Normal file
View File

@ -0,0 +1,5 @@
#!/usr/bin/env bash
HOST="chris@nose-pluto.local"
DEST="~/pluto"
NOSE_DIR="~/nose"

View File

@ -5,9 +5,7 @@
set -euo pipefail
HOST="chris@nose-pluto.local"
DEST="~/pluto"
NOSE_DIR="~/nose"
source config.sh
SOCK="$HOME/.ssh/cm-%r@%h:%p"
# 1) Open a master connection (prompts once)

View File

@ -3,7 +3,6 @@
##
# setup your NOSEputer from your dev machine
HOST="chris@nose-pluto.local"
DEST="~/pluto"
source config.sh
ssh $HOST "cd $DEST && ./scripts/install.sh && sudo systemctl start nose-pluto.service"