Class: LogicalConstruct::VirtualBox::Volume

Inherits:
Default::Volume
  • Object
show all
Defined in:
lib/logical-construct/target/platforms/virtualbox/volume.rb

Instance Method Summary collapse

Instance Method Details

#defineObject



6
7
8
9
10
11
12
# File 'lib/logical-construct/target/platforms/virtualbox/volume.rb', line 6

def define
  Mattock::CommandTask.new(self) do |task|
    task.command = Mattock::CommandLine.new("mount") do |mount|
      mount.options = [device, mountpoint]
    end
  end
end