diff --git a/xCAT-server/lib/xcat/plugins/switchdiscover.pm b/xCAT-server/lib/xcat/plugins/switchdiscover.pm index 12e552556..2d4682ecf 100644 --- a/xCAT-server/lib/xcat/plugins/switchdiscover.pm +++ b/xCAT-server/lib/xcat/plugins/switchdiscover.pm @@ -1402,7 +1402,7 @@ sub switchsetup { } foreach my $mytype (keys %$nodes_to_config) { - my $config_script = "$::XCATROOT/shart/xcat/tools/config".$mytype; + my $config_script = "$::XCATROOT/share/xcat/scripts/config".$mytype; if (-r -x $config_script) { my $switches = join(",",@{${nodes_to_config}->{$mytype}}); send_msg($request, 0, "call to config $mytype switches $switches\n"); diff --git a/xCAT-server/share/xcat/tools/configBNT b/xCAT-server/share/xcat/scripts/configBNT similarity index 100% rename from xCAT-server/share/xcat/tools/configBNT rename to xCAT-server/share/xcat/scripts/configBNT diff --git a/xCAT-server/share/xcat/tools/configMellanox b/xCAT-server/share/xcat/scripts/configMellanox similarity index 100% rename from xCAT-server/share/xcat/tools/configMellanox rename to xCAT-server/share/xcat/scripts/configMellanox