2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-22 03:32:04 +00:00

Debug command output16

This commit is contained in:
Mark Gurevich 2022-07-14 09:33:07 -04:00
parent f5ac1fece8
commit f5ee7934c7

View File

@ -346,11 +346,12 @@ sub install_xcat{
"sudo -s /opt/xcat/sbin/chtab priority=1.1 policy.name=githubaction policy.rule=allow",
"sudo sed -i '1i set -x' /etc/profile.d/xcat.sh ",
"cat /etc/profile.d/xcat.sh ",
"/etc/profile.d/xcat.sh ",
"echo \$PATH",
"sudo /opt/xcat/sbin/tabdump policy",
"sudo /opt/xcat/sbin/tabdump site",
"sudo /opt/xcat/bin/lsxcatd -a",
"source /etc/profile.d/xcat.sh ",
"echo \$PATH",
"sudo tabdump policy",
"sudo tabdump site",
"sudo lsxcatd -a",
"ls /opt/xcat/sbin",
"sudo service xcatd status");
my $ret = 0;
@ -385,7 +386,9 @@ sub install_xcat{
$check_result_str .= "> **INSTALL XCAT SUCCESSFUL**";
print $check_result_str;
}
return 0;
# MG
return 1;
# return 0;
}