bootstrap.sh 286 B

1234567891011
  1. #!/bin/bash
  2. # change ssh_key, ssh_key_name to reflect your current setup
  3. SSH_KEY=$(cat ~/.ssh/id_ed25519.pub)
  4. SSH_KEY_NAME=$(whoami)
  5. sed -i.bak \
  6. -e "s#SSH_KEY=.*#SSH_KEY=${SSH_KEY}#g" \
  7. -e "s#SSH_KEY_NAME=.*#SSH_KEY_NAME=${SSH_KEY_NAME}#g" \
  8. "$(dirname "$0")/config.env"