fup
This commit is contained in:
parent
bf76f1033b
commit
6a06c5a71e
|
@ -0,0 +1,19 @@
|
|||
#!/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