Make system name configurable in aws perf script.

Change-Id: Ia898111e5559385314417ced2e2a663cffb3e535
Reviewed-on: https://asterix-gerrit.ics.uci.edu/1631
Reviewed-by: Ian Maxon <imaxon@apache.org>
Tested-by: Michael Blow <mblow@apache.org>
diff --git a/asterixdb/asterix-benchmark/src/main/resources/bin/runall.sh b/asterixdb/asterix-benchmark/src/main/resources/bin/runall.sh
index 1cd0f0b..a086a34 100755
--- a/asterixdb/asterix-benchmark/src/main/resources/bin/runall.sh
+++ b/asterixdb/asterix-benchmark/src/main/resources/bin/runall.sh
@@ -32,6 +32,9 @@
 # Gets the inventory file path.
 INVENTORY=$1
 
+# Gets the system name.
+SYSTEM_NAME=$2
+
 # Checks the existence of the inventory file.
 if [ ! -f "$INVENTORY" ];
 then
@@ -69,7 +72,7 @@
     for number in 1 2 3
     do
         for query in $queries/*.sqlpp; do
-           ansible-playbook -i $INVENTORY --extra-vars="query_file=${query} report=true metric=\"AsterixDB\"" \
+           ansible-playbook -i $INVENTORY --extra-vars="query_file=${query} report=true metric=${SYSTEM_NAME}" \
                  $ANSIBLE_PATH/runquery.yml
         done
     done