From ad0118ddf9ff64cf71e4b7357514a1ba6f4566e7 Mon Sep 17 00:00:00 2001 From: litingt Date: Thu, 23 Oct 2014 19:06:34 -0700 Subject: [PATCH] fix defect 4314 update for ubuntu specific case support --- xCAT-test/xcattest | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xCAT-test/xcattest b/xCAT-test/xcattest index 7506bf2b8..30086f685 100755 --- a/xCAT-test/xcattest +++ b/xCAT-test/xcattest @@ -539,7 +539,10 @@ sub loadcase $cases[$i]->{os}="Linux"; }elsif($string1 =~ /^sles\s*/ && -f "/etc/SuSE-release"){ $cases[$i]->{os}="Linux"; - }else{ + }elsif($string1 =~ /^ubuntu\s*/ && -f "/etc/lsb-release"){ + $cases[$i]->{os}="Linux"; + } + else{ $cases[$i]->{os}=$string1; }