Skip to content

Commit

Permalink
require $
Browse files Browse the repository at this point in the history
  • Loading branch information
CamDavidsonPilon committed Apr 10, 2024
1 parent 2770ac4 commit e3e50a5
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@ sshpass -p $SSHPASS ssh-copy-id $USERNAME@$HOSTNAME_local
# remove any existing config (for idempotent)
# we do this first so the user can see it on the Pioreactors/ page
UNIT_CONFIG=/home/$USERNAME/.pioreactor/config_"$HOSTNAME".ini
rm -f UNIT_CONFIG
touch UNIT_CONFIG
echo -e "# Any settings here are specific to $HOSTNAME, and override the settings in shared config.ini" >> UNIT_CONFIG
crudini --set UNIT_CONFIG pioreactor version 1.0
crudini --set UNIT_CONFIG pioreactor bioreactor pioreactor_20ml
rm -f $UNIT_CONFIG
touch $UNIT_CONFIG
echo -e "# Any settings here are specific to $HOSTNAME, and override the settings in shared config.ini" >> $UNIT_CONFIG
crudini --set $UNIT_CONFIG pioreactor version 1.0 \
--set $UNIT_CONFIG pioreactor bioreactor pioreactor_20ml

# add worker to known hosts on leader
ssh-keyscan $HOSTNAME_local >> "/home/$USERNAME/.ssh/known_hosts"
Expand Down

0 comments on commit e3e50a5

Please sign in to comment.