You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'v added a ":communicator" variable to nodes.json and recognized that the ":box" variable is invoked in the wrong scope in Vagrantfile.
To get Windows Support I added a node like this:
"win31": {
":ip": "192.168.35.31",
"ports": [
{
":host": 3389,
":guest": 3389,
":id": "win-rpd"
}
],
":memory": 2048,
":communicator": "winrm",
":box": "opentable/win-2012r2-standard-amd64-nocm",
":bootstrap": "bootstrapWin2012.ps1"
}
I had to change the Vagrantfile to:
[...]
config.vm.define node_name do |config|
config.vm.box = node_values[':box']
config.vm.communicator = node_values[':communicator']
# configures all forwarding ports in JSON array
ports = node_values['ports']
ports.each do |port|
[...]
Perhaps you know how to set a default to ":communicator" because I have to set
":communicator": "ssh",
to all linux nodes.
The text was updated successfully, but these errors were encountered:
I'v added a ":communicator" variable to nodes.json and recognized that the ":box" variable is invoked in the wrong scope in Vagrantfile.
To get Windows Support I added a node like this:
"win31": {
":ip": "192.168.35.31",
"ports": [
{
":host": 3389,
":guest": 3389,
":id": "win-rpd"
}
],
":memory": 2048,
":communicator": "winrm",
":box": "opentable/win-2012r2-standard-amd64-nocm",
":bootstrap": "bootstrapWin2012.ps1"
}
I had to change the Vagrantfile to:
[...]
config.vm.define node_name do |config|
config.vm.box = node_values[':box']
config.vm.communicator = node_values[':communicator']
# configures all forwarding ports in JSON array
ports = node_values['ports']
ports.each do |port|
[...]
Perhaps you know how to set a default to ":communicator" because I have to set
":communicator": "ssh",
to all linux nodes.
The text was updated successfully, but these errors were encountered: