fup
This commit is contained in:
parent
13e56d7d3a
commit
cfd95f58f9
|
@ -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
|
Loading…
Reference in New Issue