def save_to_file(path)
      fullpath = File.expand_path(path)
      lines = []

      @content.each_pair do |key,value|
        k = "lxc.#{key.gsub('_', '.')}"

        if value.kind_of?(Array)
          lines << value.map { |v| "#{k} = #{v}" }
        else
          lines << "#{k} = #{value}"
        end
      end

      File.open(path, "w") do |f|
        f.write(lines.flatten.join("\n"))
      end
    end
def save_to_file(path)
      fullpath = File.expand_path(path)
      lines = []

      @content.each_pair do |key,value|
        k = "lxc.#{key.gsub('_', '.')}"

        if value.kind_of?(Array)
          lines << value.map { |v| "#{k} = #{v}" }
        else
          lines << "#{k} = #{value}"
        end
      end

      File.open(path, "w") do |f|
        f.write(lines.flatten.join("\n"))
      end
    end
Save configuration into file
 @param [path] path to output file