master
Alarig Le Lay 4 years ago
parent 4c7d508635
commit 7701a5ffb5

@ -17,7 +17,17 @@ else
printf 'Cant source "creds": file not found\n'
fi
exit 0
# check for commands in the path
for bin in curl ipv6calc ip; do
if [ -z $(which ${bin} 2>/dev/null) ]; then
MISSING="${MISSING} ${bin}"
fi
done
if [ ! -z "${MISSING}" ]; then
printf "Your missing this:${MISSING}\n"
exit 1
fi
# ID subnets IPAM V4 et V6 contenants les VMs
ID_RANGES_V4=( "74" "181" )

Loading…
Cancel
Save