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 <mtortuyaux@microsoft.com>
Co-authored-by: Krzesimir Nowak <knowak@microsoft.com>
This commit is contained in:
Mathieu Tortuyaux 2022-04-12 12:18:49 +02:00
parent 8459c55d36
commit de7e05403b
No known key found for this signature in database
GPG Key ID: AC5CCFB52545D9B8

View File

@ -60,6 +60,9 @@ function vm_build() {
echo "docker container rm -f '${vms_container}'" >> ci-cleanup.sh
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}" \