From 0e227799b9d6246809887555b565cdbfbe6dfe0c Mon Sep 17 00:00:00 2001 From: Jia Zhao Date: Wed, 8 Apr 2015 13:20:25 +0800 Subject: [PATCH] support geninitrd for PowerKVM Hypervisor --- xCAT-server/lib/xcat/plugins/geninitrd.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/geninitrd.pm b/xCAT-server/lib/xcat/plugins/geninitrd.pm index 5e499ba25..967ea5392 100644 --- a/xCAT-server/lib/xcat/plugins/geninitrd.pm +++ b/xCAT-server/lib/xcat/plugins/geninitrd.pm @@ -201,7 +201,7 @@ sub geninitrd { return; } } elsif ($arch =~ /ppc/) { - if ($osvers =~ /(^ol[0-9].*)|(centos.*)|(rh.*)|(fedora.*)|(SL.*)/) { + if ($osvers =~ /(^ol[0-9].*)|(centos.*)|(rh.*)|(fedora.*)|(SL.*)|(pkvm.*)/) { $kernelpath = "$tftppath/vmlinuz"; copy("$pkgdir/ppc/ppc64/vmlinuz", $kernelpath); if (-r "$pkgdir/ppc/ppc64/ramdisk.image.gz") {