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

Debug command output29

This commit is contained in:
Mark Gurevich 2022-07-14 13:17:11 -04:00
parent 8832ae6c9d
commit 1e1aeff63b

View File

@ -342,7 +342,7 @@ sub install_xcat{
print "[install_xcat] $cmd ....[Pass]\n";
print "\n------Config xcat and verify xcat is working correctly-----\n";
@cmds = ("sudo -s /opt/xcat/share/xcat/scripts/setup-local-client.sh -f",
@cmds = ("sudo -s /opt/xcat/share/xcat/scripts/setup-local-client.sh",
#"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 ",
#"sudo sed -i '1i #!/bin/bash' /etc/profile.d/xcat.sh ",
@ -352,7 +352,7 @@ sub install_xcat{
#"echo \$PATH",
#"export PATH=/opt/xcat/bin:/opt/xcat/sbin/:\$PATH",
"echo \$PATH",
". /etc/profile.d/xcat.sh && tabdump policy",
". /etc/profile.d/xcat.sh && sudo tabdump policy",
"sudo tabdump site",
"lsxcatd -a",
"ls /opt/xcat/sbin",