onos/tools/test/bin/onos-fetch-vms
Pavlin Radoslavov 91413794ef Minor cleanup in some of the shell scripts in the "tools" directory.
No functional changes.

 * Description header formatting
 * Added missing new line at the end of a file
 * Removed extra new lines at the end of a file
2014-10-15 11:03:54 -07:00

12 lines
461 B
Bash
Executable File

#!/bin/bash
# -----------------------------------------------------------------------------
# Remotely fetches the ONOS test VMs from a local share into ~/Downloads.
# -----------------------------------------------------------------------------
[ ! -d "$ONOS_ROOT" ] && echo "ONOS_ROOT is not defined" >&2 && exit 1
. $ONOS_ROOT/tools/build/envDefaults
mkdir -p /tmp/onos
mount -t smbfs smb://guest:@10.254.1.15/onos /tmp/onos
cp /tmp/onos/*.ova ~/Downloads