Skip to content

Commit 39f1cbd

Browse files
committed
Remove cloud-init read, since it doesn't work
1 parent f6ec413 commit 39f1cbd

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/scripts/adhoc.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,10 @@ if [[ ${ACTION} == "deploy-metal" ]]; then
8787

8888
pushd ${SCRIPT_DIR}/../resources
8989
TOKEN=$(getApiToken "${PROJECT_ID}" "${API_KEY}")
90-
CI=$(cat adhoc-server-init.yml)
9190

9291
echo "Making Deploy POST"
93-
jq --arg hostname "${ACTOR}" --arg plan "${PLAN}" --arg userData "$(printf '%s' "$CI" | base64 -w 0)" \
94-
'.hostname = $hostname | .type = $plan' adhoc-server-deploy.json > adhoc-server-deploy-final.json
92+
jq --arg hostname "${ACTOR}" --arg plan "${PLAN}" '.hostname = $hostname | .type = $plan' \
93+
adhoc-server-deploy.json > adhoc-server-deploy-final.json
9594
echo "Finished Deploy POST"
9695

9796
echo "Running Deploy API"

0 commit comments

Comments
 (0)