This is a Windows Nano Technical Preview 3 box.
WinRM connectivity from Vagrant
The WinRM service in Nano currently only accepts requests set to the UTF-8 code page 65001. However, the WinRM Gem used by Vagrant sets the codepage to 437. This prevents vagrant from establishing WinRM connections with the nano box.
However, Vagrant is able to create and destroy the box and one can connect via via windows Powershell Remoting.
Hyper-V Blue Screens(BSODs)
The very first boot on Hyper-V will blue screen. However it will recover. How it recovers depends on the type of switch used:
- External Switch - box automatically restarts and boots to nano login screen.
- Internal Switch - Box Blue Screens, twice on its own and finally stops a tan Error Code Screen. Manually restarting the VM will boot int oa Nano login screen and no subsequent blue screens should be seen.
Communicating with the box using Powershell Remoting
You can connect via powershell remoting using port 55985 on VirtualBox and the normal WinRM ports using Hyper-V.
More instructions to come
This box was created using the template located at https://github.com/mwrock/packer-templates/blob/master/vbox-nano.json The build was identical for VirtualBox and Hyper-V with the exception of the drivers used to create the initial nano image. Hyper-V used the
-GuestDrivers option and VirtualBox used
vagrant init mwrock/WindowsNano; vagrant up --provider hyperv
vagrant init mwrock/WindowsNano; vagrant up --provider virtualbox
September 27 2015, 02:39 UTC