[Fai-commit] r4612 - people/michael/features/setup_harddisks_2/implementation

michael-guest at alioth.debian.org michael-guest at alioth.debian.org
Tue Oct 9 15:15:01 UTC 2007


Author: michael-guest
Date: 2007-10-09 15:15:01 +0000 (Tue, 09 Oct 2007)
New Revision: 4612

Modified:
   people/michael/features/setup_harddisks_2/implementation/shdd2-fstab
Log:
added quotes to SWAPLIST


Modified: people/michael/features/setup_harddisks_2/implementation/shdd2-fstab
===================================================================
--- people/michael/features/setup_harddisks_2/implementation/shdd2-fstab	2007-10-09 14:50:22 UTC (rev 4611)
+++ people/michael/features/setup_harddisks_2/implementation/shdd2-fstab	2007-10-09 15:15:01 UTC (rev 4612)
@@ -210,6 +210,8 @@
 
   # cleanup the swaplist (remove leading space)
   $FAI::disk_var{ "SWAPLIST" } =~ s/^\s+//;
+  # quote the entries of SWAPLIST
+  $FAI::disk_var{ "SWAPLIST" } = '"' . $FAI::disk_var{ "SWAPLIST" } . '"';
 
   # sort the lines in @fstab to enable all sub mounts
   for ( my $i = 0; $i < scalar( @fstab ); $i++ )




More information about the Fai-commit mailing list