add windows 7 support for copycds
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4523 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
81896cd3e9
commit
a3524a7cdb
@ -412,6 +412,19 @@ sub copycd
|
||||
$distname = "win2k8";
|
||||
}
|
||||
}
|
||||
# add support for Win7
|
||||
if(-r $path . "/sources/idwbinfo.txt"){
|
||||
open(DBNAME, $path . "/sources/idwbinfo.txt");
|
||||
while(<DBNAME>){
|
||||
if(/BuildArch=amd64/){
|
||||
$darch = "x86_64";
|
||||
}
|
||||
if(/BuildBranch=win7_rtm/){
|
||||
$distname = "win7";
|
||||
}
|
||||
}
|
||||
close(DBNAME);
|
||||
}
|
||||
unless ($distname)
|
||||
{
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user