Class: SparseImage::Command::Unmount
- Inherits:
-
Object
- Object
- SparseImage::Command::Unmount
- Defined in:
- lib/vagrant-sparseimage/command.rb
Instance Method Summary collapse
Instance Method Details
#execute ⇒ Object
93 94 95 96 97 98 99 |
# File 'lib/vagrant-sparseimage/command.rb', line 93 def execute @env.machine_names.each do |mname| machine = @env.machine(mname, :virtualbox) machine.ui.info("Unmounting sparse images for machine #{mname}") SparseImage::unmount(machine) end end |
#help ⇒ Object
100 101 102 103 |
# File 'lib/vagrant-sparseimage/command.rb', line 100 def help @env.ui.info("Usage: vagrant sparseimage unmount") @env.ui.info("\tUnmount all configured sparse images") end |