diff --git a/recipes/alpine/provisionning/matchbox.sh b/recipes/alpine/provisionning/matchbox.sh index 8db2bb3..f7182e7 100644 --- a/recipes/alpine/provisionning/matchbox.sh +++ b/recipes/alpine/provisionning/matchbox.sh @@ -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 "${?}" \ No newline at end of file diff --git a/tools/.asgard.conf b/tools/.asgard.conf deleted file mode 100644 index d972bd1..0000000 --- a/tools/.asgard.conf +++ /dev/null @@ -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 diff --git a/tools/.eole-one.conf b/tools/.eole-one.conf deleted file mode 100644 index c1aca30..0000000 --- a/tools/.eole-one.conf +++ /dev/null @@ -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 diff --git a/tools/.midgard-dev.conf b/tools/.midgard-dev.conf deleted file mode 100644 index b070ea6..0000000 --- a/tools/.midgard-dev.conf +++ /dev/null @@ -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 diff --git a/tools/.midgard-staging.conf b/tools/.midgard-staging.conf deleted file mode 100644 index 5a46593..0000000 --- a/tools/.midgard-staging.conf +++ /dev/null @@ -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 diff --git a/tools/.midgard.conf b/tools/.midgard.conf deleted file mode 100644 index 39fbe0b..0000000 --- a/tools/.midgard.conf +++ /dev/null @@ -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 diff --git a/tools/.one-templates.conf b/tools/.one-templates.conf deleted file mode 100644 index 10355c1..0000000 --- a/tools/.one-templates.conf +++ /dev/null @@ -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 diff --git a/tools/.yggy.conf b/tools/.yggy.conf deleted file mode 100644 index 0a32b20..0000000 --- a/tools/.yggy.conf +++ /dev/null @@ -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