roll back the last change in configmic file; And fix the issue that hostname cannot show the short hostname

This commit is contained in:
daniceexi 2014-02-11 04:48:40 -05:00
parent af305e1c65
commit 9e91cf4f63

View File

@ -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") {