#!/bin/sh ############################################################################### # Copyright (c) 2011 Linaro # All rights reserved. This program and the accompanying materials # are made available under the terms of the Eclipse Public License v1.0 # which accompanies this distribution, and is available at # http://www.eclipse.org/legal/epl-v10.html ############################################################################### # # This script installs cloud-buildd on a completely pristine host via SSH set -xe if [ $# -ne 2 ]; then echo "Usage: $0 " exit 1 fi HOST=$1 BRANCH=$2 CRED=ubuntu@$HOST echo "Installing cloud-buildd on: $HOST" ssh -A $CRED <