Set spipi to new name instead of IP address

Improved config script so the spipi config file doesn't have
to be updated with the IP address of the raspberry pi.
This commit is contained in:
John Wiggins 2022-07-27 12:20:29 -06:00
parent 00cebe9042
commit 584bc40189

View File

@ -1,6 +1,6 @@
#!/usr/bin/env bash
SPIPI=${SPIPI:-"ubuntu@10.17.89.179"}
SPIPI=${SPIPI:-"system76@spipi.local"}
if [ ! -d "models/${MODEL}" ]
then