|
|
@ -57,6 +57,13 @@ else |
|
|
|
fi |
|
|
|
|
|
|
|
#check for docker-compose |
|
|
|
if ! command -v docker-compose &> /dev/null |
|
|
|
then |
|
|
|
echo "Cannot find docker-compose" |
|
|
|
echo "Install it and try again!" |
|
|
|
echo "http://docs.swarmlab.io/SwarmLab-HowTos/labs/Howtos/docker/install.adoc.html" |
|
|
|
toolsok='no' |
|
|
|
else |
|
|
|
dockercomposeversion=$(docker-compose -f $wdir/test/run.yml config --services) |
|
|
|
if [ $dockercomposeversion != 'swarmlabclient' ];then |
|
|
|
echo "Cannot find docker-compose" |
|
|
@ -64,6 +71,7 @@ if [ $dockercomposeversion != 'swarmlabclient' ];then |
|
|
|
echo "http://docs.swarmlab.io/SwarmLab-HowTos/labs/Howtos/docker/install.adoc.html" |
|
|
|
toolsok='no' |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
#check for wireguard |
|
|
|
if ! command -v wg &> /dev/null |
|
|
|