Stubbs / sublime-vagrant

Vagrant commands for Sublime Text
43 stars 4 forks source link

additional_args throws AttributeError #16

Closed rowlandwatkins closed 10 years ago

rowlandwatkins commented 10 years ago

Hi,

I'm having some trouble getting this plugin to work with additional_args. Here's my configuration:

Vagrant.sublime-settings:

[[[ { "vagrant_path": "/usr/bin/vavgrant", "additional_args": ["--provider=esxi"] } ]]]

When I attempt to run any Vagrant command, I get:

[[[ AttributeError: 'list' object has no attribute 'items' ]]]

I'm guessing I have some syntax error in my configuration, the plugin expects a dictionary, but is receiving an array.

Any guidance appreciated!

Rowland

Stubbs commented 10 years ago

The additional_args setting needs to be defined as a dictionary rather than a set, so in your case you'd need:

additional_args: {'provider': 'esxi'}

That should get you going.