diskimage-builder/elements/ubuntu/bin/map-services
Ryan Brady 1aecb41b7e Add deprecation warning when using map-services
This patch writes a warning out to stderr to notify element authors
that may be using map-services to migrate to svc-map.

Change-Id: Ic80db16c607958d025e89b3a4058a9cbb568938e
2014-11-12 17:03:49 +00:00

8 lines
211 B
Bash
Executable file

#!/bin/bash
set -eu
set -o pipefail
# For Ubuntu map-services is currently a noop
# We pass through the service name directly
echo "$@"
>&2 echo "WARNING: map-services has been deprecated. Please use svc-map."