fup
This commit is contained in:
parent
218404f798
commit
22d927b5a0
|
@ -30,33 +30,6 @@ mkdir -p "${ASSETS_DIR}"
|
|||
chown -R "${MATCHBOX_USER}:${MATCHBOX_USER}" "${MATCHBOX_DIR}"
|
||||
chown -R "${MATCHBOX_USER}:${MATCHBOX_USER}" "${ASSETS_DIR}"
|
||||
|
||||
tout=30
|
||||
item=1
|
||||
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
|
||||
|
||||
echo " * 3374.2.0 stable image (try 1)"
|
||||
get-flatcar stable 3374.2.0 "${ASSETS_DIR}"
|
||||
if [ "${?}" -ne 0 ]; then
|
||||
sleep 3
|
||||
echo " * 3374.2.0 stable image (try 2)"
|
||||
get-flatcar stable 3374.2.0 "${ASSETS_DIR}"
|
||||
fi
|
||||
|
||||
chown -R "${MATCHBOX_USER}:${MATCHBOX_USER}" "${ASSETS_DIR}"
|
||||
ls -lhaR ${ASSETS_DIR}
|
||||
|
||||
cp -rp ./scripts/tls /root
|
||||
cp -rp ./scripts/tls /root/.secrets
|
||||
|
||||
exit "${?}"
|
|
@ -1,6 +0,0 @@
|
|||
user: pcaseiro
|
||||
token: 3b4ee45f23eda94727745940d85daa173430d3d4
|
||||
builder_addr: 192.168.10.177
|
||||
endpoint: https://asgard.cadoles.com
|
||||
flow_endpoint: https://asgard.cadoles.com/oneflow
|
||||
datastore_id: 101
|
|
@ -1,6 +0,0 @@
|
|||
user: pcaseiro
|
||||
token: feb09a5d34ba6beae09e77ade13bfcefb1fb75c1088ac0e041061911ddb89875
|
||||
builder_addr: 192.168.230.192
|
||||
endpoint: http://one.eole.lan
|
||||
flow_endpoint: http://one.eole.lan/oneflow
|
||||
datastore_id: 101
|
|
@ -1,6 +0,0 @@
|
|||
user: terra
|
||||
token: c4e249fdae281ce6f8e1c7cc4326996fca4b4c7b
|
||||
builder_addr: 192.168.10.177
|
||||
endpoint: https://midgard.cadoles.com
|
||||
flow_endpoint: https://midgard.cadoles.com/oneflow
|
||||
datastore_id: 103
|
|
@ -1,6 +0,0 @@
|
|||
user: terra
|
||||
token: 1cfe1c2b27216b666cf7d7af760e63ccd1630840
|
||||
builder_addr: 192.168.10.177
|
||||
endpoint: https://midgard.cadoles.com
|
||||
flow_endpoint: https://midgard.cadoles.com/oneflow
|
||||
datastore_id: 103
|
|
@ -1,6 +0,0 @@
|
|||
user: terra
|
||||
token: a48f776f7bfe1f264d9bc4cbba6babee33c5eca2
|
||||
builder_addr: 192.168.10.177
|
||||
endpoint: https://midgard.cadoles.com
|
||||
flow_endpoint: https://midgard.cadoles.com/oneflow
|
||||
datastore_id: 103
|
|
@ -1,7 +0,0 @@
|
|||
user: pcaseiro
|
||||
token: b37911f5ec06589fcf9411958d1ec1bc5fa7f46d5aafb9b1100a9446b1140299
|
||||
builder_addr: 192.168.10.177
|
||||
external_url: http://192.168.230.58/images
|
||||
endpoint: http://one.eole.lan
|
||||
flow_endpoint: http://one.eole.lan/oneflow
|
||||
datastore_id: 101
|
|
@ -1,6 +0,0 @@
|
|||
user: eoleone
|
||||
token: 9a00930f231b58f51e6f42c9faaddb100036897e35f32206b5c1264295c8dc6d
|
||||
builder_addr: 192.168.10.177
|
||||
endpoint: https://yggy.cadoles.com
|
||||
flow_endpoint: https://yggy.cadoles.com/oneflow
|
||||
datastore_id: 101
|
Loading…
Reference in New Issue