pf-tools commit: r755 [ccaillet-guest] - /branches/0.33-stable/sbin/mk_pxelinuxcfg
parmelan-guest at users.alioth.debian.org
parmelan-guest at users.alioth.debian.org
Tue Jun 8 09:23:26 UTC 2010
Author: ccaillet-guest
Date: Tue Jun 8 09:23:14 2010
New Revision: 755
URL: http://svn.debian.org/wsvn/pf-tools/?sc=1&rev=755
Log:
FIX: $1 is not defined into the substition rule, introducing $version var
Modified:
branches/0.33-stable/sbin/mk_pxelinuxcfg
Modified: branches/0.33-stable/sbin/mk_pxelinuxcfg
URL: http://svn.debian.org/wsvn/pf-tools/branches/0.33-stable/sbin/mk_pxelinuxcfg?rev=755&op=diff
==============================================================================
--- branches/0.33-stable/sbin/mk_pxelinuxcfg (original)
+++ branches/0.33-stable/sbin/mk_pxelinuxcfg Tue Jun 8 09:23:14 2010
@@ -205,7 +205,8 @@
$temptemplatecontent =~ s/%DISTRIB%/$M->{'distrib'}/gs ;
if ( $M->{'deploymode'} =~ /^ubuntu/ ) {
$kernel_filename =~ /vmlinuz-(.+)$/ ;
- $temptemplatecontent =~ s/%RUN_INITRD%/initrd=initrd.img-$1/gs ;
+ my $version = $1;
+ $temptemplatecontent =~ s/%RUN_INITRD%/initrd=initrd.img-$version/gs ;
}
my $preseed_file;
if ( $M->{'deploymode'} =~ /^ubuntu/ ) {
More information about the pf-tools-commits
mailing list