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

Debug command output15

This commit is contained in:
Mark Gurevich 2022-07-13 16:43:38 -04:00
parent 802567ad52
commit f5ac1fece8

View File

@ -344,9 +344,10 @@ sub install_xcat{
print "\n------Config xcat and verify xcat is working correctly-----\n";
@cmds = ("sudo -s /opt/xcat/share/xcat/scripts/setup-local-client.sh -f githubaction",
"sudo -s /opt/xcat/sbin/chtab priority=1.1 policy.name=githubaction policy.rule=allow",
"sed -i '1i set -x' /etc/profile.d/xcat.sh ",
"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",
@ -376,7 +377,7 @@ sub install_xcat{
}
if($ret){
$check_result_str .= "> **INSTALL XCAT ERROR** : Please click ``Details`` label in ``Merge pull request`` box for detailed information";
$check_result_str .= "> **INSTALL XCAT ERROR** : Please click ``Details`` label in ``Merge pull request`` box for detailed information\n";
print $check_result_str;
return 1;
}