title: cp: cannot stat ‘path/file’: No such file or directory
body: <p>I try to copy a file from host to vagrant box via vagrant provisioning:</p>
  
  <pre><code>command = "cp #{File.join(Dir.pwd,'install.sh')} /home/vagrant/"  # /home/user/vagrant/install.sh  /home/vagrant
  config.vm.provision :shell, :inline =&gt; command
  </code></pre>
  
  <p>but then I get:</p>
  
  <pre><code>cp: cannot stat ‘/home/user/vagrant/install.sh’: No such file or directory
  The following SSH command responded with a non-zero exit status.
  Vagrant assumes that this means the command failed!
  
  
  Stderr from the command:
  cp: cannot stat ‘/home/user/vagrant/install.sh’: No such file or directory
  </code></pre>
  
  <hr>
  
  <p><strong>The file is located in the same directory as the Vagrantfile and  I can access the file on the mentioned path</strong></p>