diff --git a/xCAT-server/share/xcat/netboot/sles/genimage b/xCAT-server/share/xcat/netboot/sles/genimage index 9377ab43b..bdd1dc660 100755 --- a/xCAT-server/share/xcat/netboot/sles/genimage +++ b/xCAT-server/share/xcat/netboot/sles/genimage @@ -418,8 +418,8 @@ unless ($onlyinitrd) { } if($pkgnames ne ' ') { - print "$envlist $yumcmd -t pattern $pkgnames\n"; - $rc = system("$envlist $yumcmd -t pattern $pkgnames"); + print "$envlist $yumcmd $pkgnames\n"; + $rc = system("$envlist $yumcmd $pkgnames"); $rc = $rc >> 8; if (($rc) && ($rc != '104')) { print "zypper invocation failed with rc: $rc\n";