Al 29/01/10 00:51, En/na Tom Luong ha escrit:
Both my SI server and client are running v4.1.6.

I am having trouble preparing my Fedora 12 golden client. Here's the
error message when I run "si_prepareclient --server servername"

Automatically create configuration file for systemconfigurator:
 >> /etc/systemconfig/systemconfig.conf
FATAL: unable to detect an initrd for "2.6.31.5-127.fc12.x86_64"!
WARNING: coulnd't create file /etc/systemconfig/systemconfig.conf
(needed by systemconfigurator)

There's an archive that stated it has been fixed in 2007. I'm just
curious if this is related to Fedora 12 since initrd is replaced by
dracut and initramfs. Anyone has success with imaging F12?

Thanks,
Tom


Hi Tom,

The problem is the initrd naming has changed in Fedora from initrd* to initramfs*. The attached patch (against 4.1.6) solves the problem.

Cheers,
Àlex
--- /usr/lib/systemimager/perl/SystemImager/UseYourOwnKernel.pm.orig    2011-02-04 09:48:04.473691541 +0100
+++ /usr/lib/systemimager/perl/SystemImager/UseYourOwnKernel.pm 2011-02-04 09:46:46.183686119 +0100
@@ -501,7 +501,7 @@
 
         #
         # explicitly skip files without "initrd" in the filename
-        unless ( $file =~ /initrd/ ) { return undef; }
+        unless ( $file =~ /initrd/ || $file =~ /initramfs/ ) { return undef; }
         #
         # Make sure it's binary
         if( ! -B $file ) { return undef; }
@@ -540,7 +540,8 @@
             # initrd to be used; i.e. if the kernel is statically built (no
             # loadable module support) the version string can't be found into
             # the initrd. -AR-
-            if (((index($file, $kernel_release)) > 0) && ($file =~ /initrd/)) {
+            if (((index($file, $kernel_release)) > 0) 
+                    && (($file =~ /initrd/)|| ($file =~ /initrd/))) {
                 return 1;
             }
         }
------------------------------------------------------------------------------
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb
_______________________________________________
sisuite-users mailing list
sisuite-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-users

Reply via email to