roll back the last change in configmic file; And fix the issue that hostname cannot show the short hostname
This commit is contained in:
parent
af305e1c65
commit
9e91cf4f63
@ -72,8 +72,8 @@ if ($rc) {
|
||||
$cmd = "wget -N --waitretry=10 --random-wait -T 60 http://$master/$cfgpath/miccfg.$nodename -P $tmppath";
|
||||
runsyscmd ($cmd, "Error: failed to download mic configuration file from $master\n", 3);
|
||||
} else {
|
||||
# Using $nodename_short was correct, so use that from now on
|
||||
$nodename = $nodename_short;
|
||||
# use the correct short hotname in $nodename_short
|
||||
$nodename=$nodename_short;
|
||||
}
|
||||
|
||||
unless (-r "$tmppath/miccfg.$nodename") {
|
||||
|
Loading…
Reference in New Issue
Block a user