diff --git a/xCAT-server/lib/xcat/plugins/windows.pm b/xCAT-server/lib/xcat/plugins/windows.pm index 6b641e30c..32bbcd513 100644 --- a/xCAT-server/lib/xcat/plugins/windows.pm +++ b/xCAT-server/lib/xcat/plugins/windows.pm @@ -527,7 +527,11 @@ sub copycd } elsif (/BuildBranch=win7_rtm/){ $distname = "win7"; } elsif (/BuildBranch=win8_rtm/){ - $distname = "win8"; + if (-r $mntpath . "/sources/background_cli.bmp") { + $distname = "win8"; + } elsif (-r $mntpath . "/sources/background_svr.bmp") { + $distname = "win2012"; + } } } close(DBNAME);