github.com/blystad/deis@v0.11.0/controller/scheduler/fleetrun.sh (about)

     1  #!/bin/bash
     2  set -e
     3  
     4  SSH_OPTIONS="-i $FLEETW_KEY -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=ERROR"
     5  
     6  # set debug if provided as an envvar
     7  [[ $DEBUG ]] && set -x
     8  
     9  # run the fleetctl command remotely
    10  ssh $SSH_OPTIONS core@$FLEETW_HOST "$@"