From 3174f6a8eb2d750e9329a3657bb0e379044e147b Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Wed, 21 Nov 2012 16:56:37 +0000 Subject: [PATCH] Add recognition of windows 8 media git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14385 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/windows.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/windows.pm b/xCAT-server/lib/xcat/plugins/windows.pm index f5c70c2fc..6b641e30c 100644 --- a/xCAT-server/lib/xcat/plugins/windows.pm +++ b/xCAT-server/lib/xcat/plugins/windows.pm @@ -524,9 +524,10 @@ sub copycd while(){ if(/BuildArch=amd64/){ $darch = "x86_64"; - } - if(/BuildBranch=win7_rtm/){ + } elsif (/BuildBranch=win7_rtm/){ $distname = "win7"; + } elsif (/BuildBranch=win8_rtm/){ + $distname = "win8"; } } close(DBNAME);