mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-31 01:56:39 +00:00
fix issue 3617
This commit is contained in:
parent
eb96ab7744
commit
818fd8d5a3
@ -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