Have Template get a new directive: MANAGEDADDRESSMODE for use in certain appliance applications
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15003 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
125dcfa5bb
commit
1886fa3c54
@ -193,6 +193,7 @@ sub subvars {
|
||||
$inc =~ s/#WINADJOIN#/windows_join_data()/eg;
|
||||
$inc =~ s/#WINACCOUNTDATA#/windows_account_data()/eg;
|
||||
$inc =~ s/#WINDISABLENULLADMIN#/windows_disable_null_admin()/eg;
|
||||
$inc =~ s/#MANAGEDADDRESSMODE#/managed_address_mode()/eg;
|
||||
$inc =~ s/#HOSTNAME#/$node/g;
|
||||
|
||||
my $nrtab = xCAT::Table->new("noderes");
|
||||
@ -381,6 +382,9 @@ sub get_win_prodkey {
|
||||
return ""; #in the event that we have no specified key and no KMS key, then try with no key, user may have used some other mechanism
|
||||
}
|
||||
|
||||
sub managed_address_mode {
|
||||
return $::XCATSITEVALS{managedaddressmode};
|
||||
}
|
||||
sub esxipv6setup {
|
||||
if ($::XCATSITEVALS{managedaddressmode} ne "autoula") { return ""; } # blank unless autoula
|
||||
my $hoststab;
|
||||
|
Loading…
Reference in New Issue
Block a user