diff options
author | varac <varacanero@zeromail.org> | 2013-02-09 19:19:52 +0100 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2013-02-09 19:19:52 +0100 |
commit | dd40c4b7ab13a931164c3b917474cc09a7a50f8e (patch) | |
tree | 103914031fc568eae814b9349d79470602848261 | |
parent | 4e63ff63e9053b6bd223231161ae26ee01b13519 (diff) |
use SRCHOST instead of cheetah
-rwxr-xr-x | clone-baseimage.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clone-baseimage.sh b/clone-baseimage.sh index 053a52c..2cce8f6 100755 --- a/clone-baseimage.sh +++ b/clone-baseimage.sh @@ -15,7 +15,7 @@ SSHPORT=4422 # test on cheetah -ssh $SRCHOST -p $SSHPORT "virsh list|grep -q $IMAGE" && echo "$IMAGE is up on cheetah. Stop it before cloning !" && exit 1 +ssh $SRCHOST -p $SSHPORT "virsh list|grep -q $IMAGE" && echo "$IMAGE is up on $SRCHOST. Stop it before cloning !" && exit 1 # test locally virsh list|grep -q $IMAGE && echo "$IMAGE is up, locally. Stop it before cloning !" && exit 1 |