oscar-stack / vagrant-config_builder

Configure Vagrant with structured data
Other
23 stars 19 forks source link

Add winrm to the config_builder model #26

Closed Iristyle closed 10 years ago

Iristyle commented 10 years ago

This adds the winrm attribute to the config_builder, so that the user, password and other settings may be specified in a separate winrm.yaml, when using the WinRM communicator.


---
winrm:
  username: 'administrator'
  password: 'vagrant'
nanliu commented 10 years ago

@Iristyle were you able to get this working with a VM without ssh server service? I seem to need one more line in def to_proc:

global_config.vm.communicator = 'winrm'
nanliu commented 10 years ago

Nevermind, I see it's an attribute of vm: https://github.com/adrienthebo/vagrant-config_builder/blob/master/lib/config_builder/model/vm.rb#L156