pf-tools commit: r607 [ccaillet-guest] - /trunk/sbin/mk_pxelinuxcfg
parmelan-guest at users.alioth.debian.org
parmelan-guest at users.alioth.debian.org
Fri Jul 11 14:34:46 UTC 2008
Author: ccaillet-guest
Date: Fri Jul 11 14:34:46 2008
New Revision: 607
URL: http://svn.debian.org/wsvn/pf-tools/?sc=1&rev=607
Log:
without debug msg and comments
Modified:
trunk/sbin/mk_pxelinuxcfg
Modified: trunk/sbin/mk_pxelinuxcfg
URL: http://svn.debian.org/wsvn/pf-tools/trunk/sbin/mk_pxelinuxcfg?rev=607&op=diff
==============================================================================
--- trunk/sbin/mk_pxelinuxcfg (original)
+++ trunk/sbin/mk_pxelinuxcfg Fri Jul 11 14:34:46 2008
@@ -122,7 +122,6 @@
my $M = $host->{'SRVLIST'}->{$m};
my $debian_installer = 0 ;
$debian_installer = 1 if ( defined $M->{'deploymode'} && $M->{'deploymode'} eq 'debian-installer' ) ;
- print "|$M->{'deploymode'}| debian_installer --> $debian_installer for host $m\n" ;
foreach $nam ( sort ( keys %{ $M->{'zone'} } ) ) {
if ( $nam =~ /$dhcpvlanregex/ ) {
my $nam2 = $1;
@@ -195,9 +194,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