From 9e91cf4f63313d6d9e7f9d4d807540762e6696a4 Mon Sep 17 00:00:00 2001 From: daniceexi Date: Tue, 11 Feb 2014 04:48:40 -0500 Subject: [PATCH] roll back the last change in configmic file; And fix the issue that hostname cannot show the short hostname --- xCAT-server/sbin/configmic | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-server/sbin/configmic b/xCAT-server/sbin/configmic index 306099dab..5a3b62d49 100755 --- a/xCAT-server/sbin/configmic +++ b/xCAT-server/sbin/configmic @@ -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") {