sundry/kickstart/write_config.rb

13 lines
236 B
Ruby

#!/usr/bin/ruby
#
require "json"
conf_file = "ks.json"
settings = {
"machine_definitions" => "definitions",
"machine_definitions" => "definitions"
};
puts JSON.pretty_generate(settings)