[Fai-commit] r4968 - trunk/lib/setup-storage

lange at alioth.debian.org lange at alioth.debian.org
Thu Jun 12 16:11:51 UTC 2008


Author: lange
Date: 2008-06-12 16:11:51 +0000 (Thu, 12 Jun 2008)
New Revision: 4968

Modified:
   trunk/lib/setup-storage/Commands.pm
Log:
remove CR from parted call


Modified: trunk/lib/setup-storage/Commands.pm
===================================================================
--- trunk/lib/setup-storage/Commands.pm	2008-06-12 15:56:25 UTC (rev 4967)
+++ trunk/lib/setup-storage/Commands.pm	2008-06-12 16:11:51 UTC (rev 4968)
@@ -600,8 +600,8 @@
     $post = "rebuilt_" . &FAI::make_device_name($disk, $part_nr) if
       $FAI::configs{$config}{partitions}{$part_id}{size}{resize};
     # build a parted command to create the partition
-    &FAI::push_command( "parted -s $disk mkpart $part_type $fs ${start}B
-      ${end}B", "cleared1_$disk", $post );
+    &FAI::push_command( "parted -s $disk mkpart $part_type $fs ${start}B ${end}B",
+      "cleared1_$disk", $post );
   }
 }
 
@@ -773,9 +773,8 @@
     my $pre = "";
     $pre = ",exist_" . &FAI::make_device_name($disk, $prev_id) if ($prev_id > -1);
     # build a parted command to create the partition
-    &FAI::push_command( "parted -s $disk mkpart $part_type $fs ${start}B
-      ${end}B", "cleared2_$disk$pre", "exist_" . &FAI::make_device_name($disk,
-      $part_id) );
+    &FAI::push_command( "parted -s $disk mkpart $part_type $fs ${start}B ${end}B",
+      "cleared2_$disk$pre", "exist_" . &FAI::make_device_name($disk, $part_id) );
     $prev_id = $part_id;
   }
 




More information about the Fai-commit mailing list