From e1a9f6c3a4e53fb4a784a6a02cb2fb0412cc6d9f Mon Sep 17 00:00:00 2001 From: Mathieu Tortuyaux Date: Tue, 12 Apr 2022 12:18:49 +0200 Subject: [PATCH] ci-automation/vms: rename equinix_metal to packet this is required to keep "packet" in the SDK linguo while the user can use "equinix_metal" term. Signed-off-by: Mathieu Tortuyaux Co-authored-by: Krzesimir Nowak --- ci-automation/vms.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ci-automation/vms.sh b/ci-automation/vms.sh index fde09881d7..3c7dd0137e 100644 --- a/ci-automation/vms.sh +++ b/ci-automation/vms.sh @@ -70,6 +70,9 @@ function vm_build() { [[ ${has_packet} -eq 1 ]] && [[ ${has_pxe} -eq 0 ]] && set -- 'pxe' "${@}" for format; do + # keep compatibility with SDK scripts where "equinix_metal" + # remains unknown. + [ "${format}" = "equinix_metal" ] && format="packet" echo " ################### VENDOR '${format}' ################### " ./run_sdk_container -n "${vms_container}" -C "${image_image}" \ -v "${vernum}" \