# File lib/rudy/cli/disks.rb, line 32 32: def disks_wash 33: dirt = (get_disks || []).select { |d| !d.volume_exists? } 34: if dirt.empty? 35: li "Nothing to wash in #{current_machine_group}" 36: return 37: end 38: 39: li "The following disk metadata will be deleted:" 40: li dirt.collect {|d| d.name } 41: 42: execute_check(:medium) 43: 44: dirt.each do |d| 45: d.destroy(:force) 46: end 47: 48: end