Merge "teststeps: Improvements and bugfixing of teststeps"
[vswitchperf.git] / systems / build_base_machine.sh
index c64f7bb..59712b9 100755 (executable)
@@ -38,7 +38,7 @@ function die() {
 . /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" ]