Index: nodes/genesis-to-yaml.pl
===================================================================
--- nodes/genesis-to-yaml.pl	(revision 8299)
+++ nodes/genesis-to-yaml.pl	(revision 8300)
@@ -84,4 +84,7 @@
     foreach $line  (split('\n',$config{$if})) {
         ($key, $value) = split(/=/,$line);
+        # Remove trailing and leading white spaces
+        $value =~ s/^\s+//;
+        $value =~ s/\s+$//;
         if ($key and (lc($key) =~ /^[a-z].*/)) {
             #print "$key : $value\n";
