2
# This script presumes ~/ci and ~/.juju is setup on the remote machine.
4
SCRIPTS=$(readlink -f $(dirname $0))
7
echo "usage: $0 user@host tarball"
8
echo " user@host: The user and host to ssh to."
12
test $# -eq 2 || usage
18
cat > temp-config.yaml <<EOT
21
- $SCRIPTS/run-maas-networking-remote.bash
23
command: [remote/run-maas-networking-remote.bash, "remote/$(basename $TARFILE)"]
25
~/workspace-runner/workspace-run temp-config.yaml $USER_AT_HOST