How to use this box with Vagrant:
Vagrant.configure("2") do |config| config.vm.box = "jborean93/WindowsServer2019" config.vm.box_version = "1.0.0" end
vagrant init jborean93/WindowsServer2019 \ --box-version 1.0.0 vagrant up
This version was created 4 months ago.
This is an image based on the evaluation ISO supplied by Microsoft. It has all the updates available for the host at the time applied and comes ready to be run by Vagrant. When Vagrant starts the box, sysprep will automatically run and create a brand new Windows instance with WinRM up and running.
Details on how to connect are;
Included programs (versions dependent on the Windows version);
Other configurations from the standard image;
pwsh.exe) with SSH remoting setup
pwshto the image and configured PSRemoting of
pwshfor both SSH and WinRM.
qemu/libvirtboxes and default template to use VirtIO drivers for better performance
psrpfor faster builds. The pypsrp Python library needs to be installed.
LocalAccountTokenFilterPolicyvalue when setting up the WinRM listener
-ewhen generating the template to configure
C:\Recoveryas part of the cleanup process
PackerWindozethat stores the
Reset-WinRMConfigcmdlet that recreates the WinRM configuration and keep that post sysprep for downstream users to call at any time
vagrantaccount password to never expire
-e opt_packer_setup_builder=hyperv- This will only run on a Windows with WSL host and doesn't work for Server 2008
slmgr.vbs /rearmto run just after Vagrant starts the image to get the full evaluation period possible