lib/ovsimager/utils.rb in ovsimager-0.0.3 vs lib/ovsimager/utils.rb in ovsimager-0.0.4
- old
+ new
@@ -13,7 +13,11 @@
if $? != 0
raise "command execution failure: #{$?}"
end
return out
end
+
+ def self.escape_nodename(name)
+ name.to_s.gsub('-', '_')
+ end
end
end