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 committed by Kai Lueke
parent 7991c74025
commit e1a9f6c3a4

View File

@ -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}" \