modified method gen_new_hostinfo_string() in profilenodes.pm to sort the nodes' name

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16546 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
duowang 2013-06-05 10:34:59 +00:00
parent 83db9da9b1
commit bcabd11857

View File

@ -1591,7 +1591,7 @@ sub gen_new_hostinfo_string{
# compose the stanza string for hostinfo file.
my $hostsinfostr = "";
foreach my $item (keys %hostinfo_dict){
foreach my $item (sort(keys %hostinfo_dict)){
# Generate IPs for other interfaces defined in MAC file.
my %ipshash;
foreach (keys %netprofileattr){