Method: VagrantPlugins::VagrantHyperV::Provisioner::ChefSolo#copy_folder_to_guest

Defined in:
lib/vagrant-windows-hyperv/provisioner/chef_solo.rb

#copy_folder_to_guest(folders) ⇒ Object

[View source]

170
171
172
173
174
175
176
# File 'lib/vagrant-windows-hyperv/provisioner/chef_solo.rb', line 170

def copy_folder_to_guest(folders)
  folders.each do |type, local_path, remote_path|
    if type == :host
      @env[:machine].provider.driver.upload(local_path, remote_path)
    end
  end
end