diff options
author | Neil Williams <codehelp@debian.org> | 2013-08-09 14:15:50 +0100 |
---|---|---|
committer | Neil Williams <codehelp@debian.org> | 2013-08-09 14:15:50 +0100 |
commit | 80693d6c5932b87c8998b83f4e7374365e9685d8 (patch) | |
tree | 1963c57d500d9e520833a080ed79e0cbc201ea57 | |
parent | 57f585025ae4d84ccd92783881b591a3783b4351 (diff) |
handle the tab spacing of lava-group and the possible debug output in query.
-rwxr-xr-x | kvm-get.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3,6 +3,6 @@ set -e set -x -DEVICE=`lava-group | grep -m1 -v kvm` -SOURCE=`lava-network query $DEVICE ipv4` +DEVICE=`lava-group | grep -m1 -v kvm|cut -f2` +SOURCE=`lava-network query $DEVICE ipv4|grep -v LAVA` wget -O /var/www/testfile http://${SOURCE}/testfile |