modules/mu/config.rb in cloud-mu-3.1.1 vs modules/mu/config.rb in cloud-mu-3.1.2beta2
- old
+ new
@@ -2546,10 +2546,11 @@
example += "# ---\n"
example += "# appname: #{complexity}\n"
example += "# #{cfg_plural}:\n"
firstline = true
erb.result(binding).split(/\n/).each { |l|
- l.sub!(/#.*/, "")
+ l.chomp!
+ l.sub!(/#.*/, "") if !l.match(/#(?:INTERNET|NAT|DENY)/)
next if l.empty? or l.match(/^\s+$/)
if firstline
l = "- "+l
firstline = false
else