pf-tools commit: r616 [ccaillet-guest] - /trunk/sbin/mk_pxelinuxcfg
parmelan-guest at users.alioth.debian.org
parmelan-guest at users.alioth.debian.org
Wed Jul 30 13:28:49 UTC 2008
Author: ccaillet-guest
Date: Wed Jul 30 13:28:49 2008
New Revision: 616
URL: http://svn.debian.org/wsvn/pf-tools/?sc=1&rev=616
Log:
Comments running gag with ramdisk size
Modified:
trunk/sbin/mk_pxelinuxcfg
Modified: trunk/sbin/mk_pxelinuxcfg
URL: http://svn.debian.org/wsvn/pf-tools/trunk/sbin/mk_pxelinuxcfg?rev=616&op=diff
==============================================================================
--- trunk/sbin/mk_pxelinuxcfg (original)
+++ trunk/sbin/mk_pxelinuxcfg Wed Jul 30 13:28:49 2008
@@ -198,9 +198,9 @@
}
$temptemplatecontent =~ s/%PRESEED_MD5%/$preseed_md5/gs;
} else {
-# my $ramdisk_size = Get_Ramdisk_size_from_Initrd($M->{'initrd'} );
-# $temptemplatecontent =~ s/%RAMDISK_SIZE%/$ramdisk_size/gs;
-# $temptemplatecontent =~ s/%INITRD%/$M->{'initrd'}/gs;
+ my $ramdisk_size = Get_Ramdisk_size_from_Initrd($M->{'initrd'} );
+ $temptemplatecontent =~ s/%RAMDISK_SIZE%/$ramdisk_size/gs;
+ $temptemplatecontent =~ s/%INITRD%/$M->{'initrd'}/gs;
}
my $arch = $M->{'arch'} || 'i386' ;
More information about the pf-tools-commits
mailing list