support zonename
This commit is contained in:
parent
78d3e285a6
commit
8f6bbd40d9
@ -492,8 +492,14 @@ sub makescript {
|
||||
# if using zones then must go to the zone.sshbetweennodes
|
||||
# else go to site.sshbetweennodes
|
||||
my $enablesshbetweennodes;
|
||||
my $zonename;
|
||||
if ($usingzones) {
|
||||
$enablesshbetweennodes = enableSSHbetweennodeszones($node,$callback);
|
||||
$enablesshbetweennodes = enableSSHbetweennodeszones($node,$callback);
|
||||
my $tmpzonename = xCAT::Zone->getmyzonename($node,$callback);
|
||||
$zonename="\'";
|
||||
$zonename .= $tmpzonename;
|
||||
$zonename .="\'";
|
||||
} else {
|
||||
$enablesshbetweennodes = enableSSHbetweennodes($node, \%::GLOBAL_SN_HASH, $groups_hash);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user