Class: VagrantPlugins::ProviderKvm::Action::Package

Inherits:
Vagrant::Action::General::Package
  • Object
show all
Defined in:
lib/vagrant-kvm/action/package.rb

Instance Method Summary collapse

Instance Method Details

#call(env) ⇒ Object



10
11
12
13
14
15
16
# File 'lib/vagrant-kvm/action/package.rb', line 10

def call(env)
  # Just match up a couple environmental variables so that
  # the superclass will do the right thing. Then, call the
  # superclass
  env["package.directory"] = env["export.temp_dir"]
  general_call(env)
end

#general_callObject

Doing this so that we can test that the parent is properly called in the unit tests.



9
# File 'lib/vagrant-kvm/action/package.rb', line 9

alias_method :general_call, :call