Fix problem where KMS key not being used as default
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16013 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
3375666c53
commit
c40b974182
@ -484,7 +484,7 @@ sub get_win_prodkey {
|
||||
$keyent = $keytab->getAttribs({product=>$osvariant},"key");
|
||||
}
|
||||
}
|
||||
if ($keyent) {
|
||||
if ($keyent and $keyent->{key}) {
|
||||
return "<ProductKey><WillShowUI>OnError</WillShowUI><Key>".$keyent->{key}."</Key></ProductKey>";
|
||||
}
|
||||
if ($xCAT::WinUtils::kmskeymap{$osvariant}) {
|
||||
|
Loading…
Reference in New Issue
Block a user