We are pleased to announce the release of Vagrant 1.9.4. This release includes new features as well as many improvements and bug fixes. Download Vagrant 1.9.4 here.
Vagrant 1.9.4 includes a couple new features and a number of improvements:
validate
command for quickly validating the current Vagrantfile in use.Many more improvements and bug fixes are included in this release. Please review the v1.9.4 changelog for a detailed list of changes.
The new WinSSH communicator introduced in this release is specifically built for Windows guests. The communicator is very similar to the current SSH communicator but does not require a POSIX-like environment. By removing the POSIX requirement, Vagrant is now able to connect and communicate with the Win32-OpenSSH service. Enabling the new communicator is as simple as setting the configuration option in the Vagrantfile:
Vagrantfile.configure("2") do |config|
config.vm.box = "example/windows-10"
config.vm.communicator = :winssh
end
The WinSSH communicator uses a cmd.exe
shell by default when connecting to a Windows host and running commands. It can also be configured to use Powershell when connecting:
Vagrantfile.configure("2") do |config|
config.vm.box = "example/windows-10"
config.vm.communicator = :winssh
config.winssh.shell = :powershell
end
To find out more about the WinSSH communicator, see the WinSSH communicator documentation page.
Before we ring in the new year, here’s a look back at some of the most important moments in 2022 for HashiCorp.
HashiCorp Vagrant 2.3 introduces a new Vagrant executable written in Golang, tying the Vagrant architecture more closely into the broader HashiCorp ecosystem.
The HashiCorp Releases API is now available. This API is your one-stop shop for finding and viewing extended metadata about HashiCorp product releases.