Skip to content

Commit

Permalink
Disable automatic updates for the Windows Vagrant box
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewkroh committed Jan 1, 2016
1 parent 02b3578 commit 4748091
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -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|
Expand Down

0 comments on commit 4748091

Please sign in to comment.