diff --git a/Vagrantfile b/Vagrantfile index 183888b1fd0d..68792c791a6d 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -1,20 +1,21 @@ ### Documentation -# This is a Vagrantfile for Beats development. # -# Boxes +# This is a Vagrantfile for Beats development and testing. These are unofficial +# environments to help developers test things in different environments. +# +# Notes # ===== # -# win2012 -# ------- -# This box is used as a Windows development and testing environment for Beats. +# win2012, win2016, win2019 +# ------------------------- +# +# To login install Microsoft Remote Desktop Client (available in Mac App Store). +# Then run 'vagrant rdp' and login as user/pass vagrant/vagrant. Or you can +# manually configure your RDP client to connect to the mapped 3389 port as shown +# by 'vagrant port win2019'. # -# Usage and Features: -# - Two users exist: Administrator and Vagrant. Both have the password: vagrant -# - Use 'vagrant ssh' to open a Windows command prompt. -# - Use 'vagrant rdp' to open a Windows Remote Desktop session. Mac users must -# install the Microsoft Remote Desktop Client from the App Store. -# - There is a desktop shortcut labeled "Beats Shell" that opens a command prompt -# to C:\Gopath\src\github.com\elastic\beats where the code is mounted. +# The provisioning currently does no install libpcap sources or a pcap driver +# (like npcap) so Packetbeat will not build/run without some manually setup. # # solaris # ------------------- @@ -25,38 +26,93 @@ # - Use gmake instead of make. # - Folder syncing doesn't work well. Consider copying the files into the box or # cloning the project inside the box. +### +# Read the branch's Go version from the .go-version file. GO_VERSION = File.read(File.join(File.dirname(__FILE__), ".go-version")).strip # Provisioning for Windows PowerShell $winPsProvision = <