Modified top level build_base_machine.sh script to use ID
instead of Name from os-release file. Renamed folders to
adapt to this change.
* Modified ID variable assignment from echo to straight assignment.
JIRA: VSPERF-257
Change-Id: I22a7d5a1f191418cbc8fc9fd7d85b013e51b49bc
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
14 files changed:
. /etc/os-release
# Get OS name (the First word from $NAME in /etc/os-release)
-OS_NAME=`echo "$NAME" | cut -d ' ' -f1`
+OS_NAME="$ID"
# check if root
if [ "$UID" -ne "$ROOT_UID" ]