From ce3c323dd08e812dda7b7367ce819d03fd9353c6 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Fri, 18 May 2012 18:13:37 +0000 Subject: [PATCH] Omit a prefix= esxi boot config file if the source has one git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12805 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/esx.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/esx.pm b/xCAT-server/lib/xcat/plugins/esx.pm index e5bf1b1be..a67fbfd28 100644 --- a/xCAT-server/lib/xcat/plugins/esx.pm +++ b/xCAT-server/lib/xcat/plugins/esx.pm @@ -4411,7 +4411,9 @@ sub merge_esxi5_append { #if ($line =~ /modules=b.b00/) { # $line =~ s/modules=b.b00/modules=b.b00 $append/; } - print $out $line; + unless ($line =~ /^prefix=/) { + print $out $line; + } } } sub mkcommonboot {