mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-30 17:46:38 +00:00
Merge pull request #3618 from zet809/fix_issue_3617
fix issue 3617: Output of command nodeset stat is with MN's long hostname
This commit is contained in:
commit
c0b41a2755
@ -941,7 +941,9 @@ unless ($foreground) {
|
||||
}
|
||||
|
||||
# Cache the hostname, restart xcatd if hostname is changed after xcatd running
|
||||
my $MYXCATSERVER = Sys::Hostname::hostname;
|
||||
my $myhostname = Sys::Hostname::hostname;
|
||||
my @mynamearray = split(/\./, $myhostname);
|
||||
my $MYXCATSERVER = $mynamearray[0];
|
||||
|
||||
$dbmaster = xCAT::Table::init_dbworker;
|
||||
if ($enable_perf) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user