Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

'synced_folder' method does not work #1428

Closed
benjamink opened this Issue · 1 comment

2 participants

@benjamink

Running Vagrant 1.1.0 - adding a line like the following (pulled from the docs) in my Vagrantfile:

myinstance.vm.synced_folder = "/home/vagrant/myfiles", "~/git/myfiles"

Throws this error:

Vagrantfile:125:in `block (2 levels) in <top (required)>': undefined method `synced_folder=' for #<VagrantPlugins::Kernel_V1::VMConfig:0x00000103368e00> (NoMethodError)

Reverting the line to the old share_folder method works:

myinstance.vm.share_folder("myfiles", "/home/vagrant/myfiles", "~/git/myfiles")
@mitchellh
Owner

The = is a typo :) Don't use that.

@mitchellh mitchellh closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.