From e2713f9b7bd66559ecc3167e79c9c97edc80e7e8 Mon Sep 17 00:00:00 2001 From: daniceexi Date: Tue, 17 Mar 2015 03:03:16 -0400 Subject: [PATCH] the initrd for stateless has to been built first to make the installkernel cfg file added first. Refer to checkin 3df16cd4e38fcc434eadbe6de0c9a9b7a1f986b1 for rh7 --- xCAT-server/share/xcat/netboot/sles/genimage | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/share/xcat/netboot/sles/genimage b/xCAT-server/share/xcat/netboot/sles/genimage index 8625c7288..cbda9ed55 100755 --- a/xCAT-server/share/xcat/netboot/sles/genimage +++ b/xCAT-server/share/xcat/netboot/sles/genimage @@ -918,8 +918,8 @@ foreach my $dn (@ndrivers) { system("chroot $rootimg_dir depmod $kernelver"); if ($dracutmode) { - mkinitrd_dracut("statelite"); mkinitrd_dracut("stateless"); + mkinitrd_dracut("statelite"); } else { my @drivers; # backup of @ndrivers push @drivers, @ndrivers;