diff --git a/xCAT-server/share/xcat/netboot/rh/genimage b/xCAT-server/share/xcat/netboot/rh/genimage index 657747f30..466e959e3 100755 --- a/xCAT-server/share/xcat/netboot/rh/genimage +++ b/xCAT-server/share/xcat/netboot/rh/genimage @@ -473,7 +473,7 @@ sub getlibs { } } -sub mknitrd_dracut { +sub mkinitrd_dracut { mkpath("$rootimg_dir/usr/share/dracut/modules.d/97xcat"); foreach (<$fullpath/dracut/*>) { copy($_,"$rootimg_dir/usr/share/dracut/modules.d/97xcat");