diff --git a/xCAT-server/lib/xcat/plugins/profilednodes.pm b/xCAT-server/lib/xcat/plugins/profilednodes.pm index fb6fa4775..b6ded7cfc 100644 --- a/xCAT-server/lib/xcat/plugins/profilednodes.pm +++ b/xCAT-server/lib/xcat/plugins/profilednodes.pm @@ -1501,8 +1501,8 @@ sub validate_node_entry{ return "Specified unit $node_entry{$_} is a invalid number"; } }elsif ($_ eq "height"){ - if (! exists $node_entry{"chassis"}){ - return "Chassis must be specified together with rack"; + if (! exists $node_entry{"racl"}){ + return "Height must be specified together with rack"; } # Not a valid number. if (!($node_entry{$_} =~ /^\d+$/)){