Changes between Version 3 and Version 4 of windowsContainers
- Timestamp:
- Sep 10, 2015 12:08:24 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
windowsContainers
v3 v4 46 46 ------------- 47 47 48 The Windows image has cygwin installed and a "vagrant" account installed (password="vagrant"). Chef adds the node name and address to {{{/etc/hosts}}} on the pnode, so you can {{{ssh vagrant@[nodename]}}} and give password "vagrant" to connect. Assuming the node configuration worked, there will DETER user accounts as well, password = "password", so {{{ssh [your user id]@[node name]}}} should work as well. You can also RDP to the nodes, starting at port 3389. Add one to the port for the next node in the list. i.e. nodeTwo above is listening on port 3390. To RDP to the node, tunnel through users, connecting to the pnode and forward the port, like so: {{{ssh -L3390:cpc25:3390}}} then fire up your favorite RDP viewer. Use the vagrant account or your own to connect. 49 48 50 The Windows nodes will spawn and Chef will configure them. Currently Vagrant uses VirtualBox shared folders to mount user directories from the pnode host. Chef creates the accounts on the machines correctly, but they do not show up until the Windows containers are rebooted. to reboot them sudo to root ({{{sudo su -}}}), cd to {{{/space/vagrant}}} and run {{{vagrant reload}}}. This will cleanly shutdown the machines and bring them up again. This takes forever. There is support for parallel operations in vagrant, but not for booting Virtualboxes though. Which is a pain. 49 51