2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-07-02 02:45:35 +00:00

Add some debugging

This commit is contained in:
Mark Gurevich
2022-06-29 16:30:30 -04:00
parent 07fc726380
commit aed6e4e58e

View File

@ -325,7 +325,8 @@ sub build_xcat_core{
#--------------------------------------------------------
sub install_xcat{
my @cmds = ("cd ./../../xcat-core && sudo ./mklocalrepo.sh",
my @cmds = ("pwd",
"cd ./../../xcat-core && sudo ./mklocalrepo.sh",
"sudo chmod 777 /etc/apt/sources.list",
"sudo echo \"deb [arch=amd64 allow-insecure=yes] http://xcat.org/files/xcat/repos/apt/devel/xcat-dep bionic main\" >> /etc/apt/sources.list",
"sudo echo \"deb [arch=ppc64el allow-insecure=yes] http://xcat.org/files/xcat/repos/apt/devel/xcat-dep bionic main\" >> /etc/apt/sources.list",
@ -343,6 +344,10 @@ sub install_xcat{
#send_back_comment("$check_result_str");
return 1;
}
else {
print "[install_xcat] Command success:\n";
print Dumper \@output;
}
}
my $cmd = "sudo apt-get install xcat --allow-remove-essential --allow-unauthenticated";