#!/usr/bin/bash # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. # # Licensed under the MIT License. See the LICENSE accompanying this file # for the specific language governing permissions and limitations under # the License. # Maintain consistent naming scheme with current EC2 instances if [ "$#" -ne 1 ] ; then echo "$0 " >&2 exit 1 else if echo "$1"|grep -qE 'xvd[a-z][0-9]?' ; then echo "$1" | sed -e 's/xvd/sd/' else echo "$1" fi fi