Fix DNS client configuration for Windows when doing static assignment
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15667 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
27c9f9dbb3
commit
de3aa1ae04
@ -364,7 +364,7 @@ sub windows_dns_cfg {
|
||||
} else {
|
||||
$domain = $::XCATSITEVALS{domain};
|
||||
}
|
||||
my $componentxml = '<component name="Microsoft-Windows-DNS-Client" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">'."\r\n<DNSDomain>$domain</DNSDomain>\r\n".
|
||||
my $componentxml = '<component name="Microsoft-Windows-DNS-Client" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">'."\r\n<DNSDomain>$domain</DNSDomain>\r\n".
|
||||
"<Interfaces><Interface wcm:action=\"add\">\r\n<Identifier>$mac</Identifier>\r\n<DNSServerSearchOrder>\r\n";
|
||||
my $idx=1;
|
||||
foreach (split /,/,$nameservers) {
|
||||
|
Loading…
Reference in New Issue
Block a user