From 47480911e43d942fecda25926e50d31ccd1b093d Mon Sep 17 00:00:00 2001 From: Andrew Kroh Date: Thu, 31 Dec 2015 22:10:49 -0500 Subject: [PATCH] Disable automatic updates for the Windows Vagrant box --- Vagrantfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Vagrantfile b/Vagrantfile index 15cb5a5359e7..761da14474d0 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -34,6 +34,11 @@ $Shortcut = $WshShell.CreateShortcut("$Home\\Desktop\\Beats Shell.lnk") $Shortcut.TargetPath = "cmd.exe" $Shortcut.Arguments = "/K cd /d C:\\Gopath\\src\\github.com\\elastic\\beats" $Shortcut.Save() + +echo "Disable automatic updates" +$AUSettigns = (New-Object -com "Microsoft.Update.AutoUpdate").Settings +$AUSettigns.NotificationLevel = 1 +$AUSettigns.Save() SCRIPT Vagrant.configure(2) do |config|