From c458718ebf1a616ae9a11be70907fa6f15a6a387 Mon Sep 17 00:00:00 2001 From: Casandra Qiu Date: Tue, 9 Aug 2016 16:54:08 -0400 Subject: [PATCH] move config switch files to scripts dir --- xCAT-server/lib/xcat/plugins/switchdiscover.pm | 2 +- xCAT-server/share/xcat/{tools => scripts}/configBNT | 0 xCAT-server/share/xcat/{tools => scripts}/configMellanox | 0 3 files changed, 1 insertion(+), 1 deletion(-) rename xCAT-server/share/xcat/{tools => scripts}/configBNT (100%) rename xCAT-server/share/xcat/{tools => scripts}/configMellanox (100%) 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