mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-07-01 18:35:36 +00:00
Add some debugging
This commit is contained in:
@ -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";
|
||||
|
Reference in New Issue
Block a user