diff --git a/xCAT-server/share/xcat/netboot/rh/genimage b/xCAT-server/share/xcat/netboot/rh/genimage index 073911747..7c49e862a 100755 --- a/xCAT-server/share/xcat/netboot/rh/genimage +++ b/xCAT-server/share/xcat/netboot/rh/genimage @@ -491,6 +491,8 @@ sub mkinitrd_dracut { cp("$fullpath/dracut/check", $dracutmpath); chmod($perm&07777, "$dracutmpath/check"); + foreach (@ndrivers) { s/\.ko$//; } + my $add_drivers = join(' ', @ndrivers); my $DRACUTCONF;