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

Merge pull request #6932 from gurevichmark/sles15.2_service

SLES15.2 service node pkglist needs wget
This commit is contained in:
besawn 2021-04-01 16:44:47 -04:00 committed by GitHub
commit a6fdc87f32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -22,4 +22,4 @@ perl-DBD-mysql
mariadb-client
#libmysqlclient18
vim
wget

View File

@ -300,7 +300,7 @@ unless ($onlyinitrd) {
$ddir .= "/1";
}
if (-d "$ddir/Product-SLES" && -d "$ddir/Module-Basesystem" && -d "$ddir/Module-Legacy") {
# If "Modile" and "Product" directories are there, use them for package repositories
# If "Module" and "Product" directories are there, use them for package repositories
system("zypper -R $rootimg_dir $non_interactive ar file:$ddir/Product-SLES $osver-$i-Product-SLES");
system("zypper -R $rootimg_dir $non_interactive ar file:$ddir/Module-Basesystem $osver-$i-Module-Basesystem");
system("zypper -R $rootimg_dir $non_interactive ar file:$ddir/Module-Legacy $osver-$i-Module-Legacy");