#!/bin/sh

#index=$(GET http://169.254.169.254/2007-01-19/meta-data/ami-launch-index)

#string=$(GET http://169.254.169.254/2007-01-19/user-data)

#param=$(echo $string | cut --delimiter=\| --fields=$index)

echo index=$index, string=$string, my param=$param

if [ ! -e /mnt/data1 ]; then 
        sudo mkdir /mnt/data1
        sudo chmod 777 /mnt/data1
fi
# we need to mount anyway       
        sudo mount /dev/sdf /mnt/data1

