class OpnSense < Oxidized::Model # minimum required permissions: "System: Shell account access" # must enable SSH and password-based SSH access cmd :all do |cfg| cfg.cut_head end cmd 'cat /conf/config.xml' do |cfg| cfg.gsub! /\s\s*