This commit is contained in:
Philippe Caseiro 2023-01-04 10:20:12 +01:00
parent 13e56d7d3a
commit cfd95f58f9
1 changed files with 0 additions and 19 deletions

View File

@ -1,19 +0,0 @@
#!/bin/sh
FL_VERSIONS="current 3374.2.0"
MATCHBOX_DIR="/var/lib/matchbox"
ASSETS_DIR="${MATCHBOX_DIR}/assets/"
echo "Provisionning matchbox with flatcar images"
echo " * Current stable image (try 1)"
for version in ${FL_VERSIONS}; do
while ! bash -x /usr/local/bin/get-flatcar stable ${version} ${ASSETS_DIR}; do
sleep 1
echo " * ${version} stable image (try ${item})"
if [ "${tout}" -eq "${item}" ]; then
break
exit 1
fi
item=$((item+1))
done
done