--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/9a3d2149-7d04-4bae-9aa7-06515040c129%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
C:\Users\stefan.scherer\GitHub\chocolatey-test-environment [master ≡ +0 ~1 -0 !]> git diff
diff --git a/Vagrantfile b/Vagrantfile
index e1d5c6d..9c6eb09 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -14,7 +14,7 @@ end
Vagrant.configure("2") do |config|
# This setting will download the atlas box at
# https://atlas.hashicorp.com/ferventcoder/boxes/win2012r2-x64-nocm
- config.vm.box = "ferventcoder/win2012r2-x64-nocm"
+ config.vm.box = "StefanScherer/windows_2016_docker"
C:\Users\stefan.scherer\GitHub\chocolatey-test-environment [master ≡ +0 ~1 -0 !]>
C:\Users\stefan.scherer\GitHub\chocolatey-test-environment [master ≡]> vagrant up --provider virtualbox
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'StefanScherer/windows_2016_docker' could not be found. Attempting to find and install...
default: Box Provider: virtualbox
default: Box Version: >= 0
==> default: Loading metadata for box 'StefanScherer/windows_2016_docker'
default: URL: https://vagrantcloud.com/StefanScherer/windows_2016_docker
==> default: Adding box 'StefanScherer/windows_2016_docker' (v17.06.0) for provider: virtualbox
default: Downloading: https://vagrantcloud.com/StefanScherer/boxes/windows_2016_docker/versions/17.06.0/providers/virtualbox.box
default: Progress: 100% (Rate: 9202k/s, Estimated time remaining: --:--:--)
==> default: Successfully added box 'StefanScherer/windows_2016_docker' (v17.06.0) for 'virtualbox'!
==> default: Preparing master VM for linked clones...
default: This is a one time operation. Once the master VM is prepared,
default: it will be used as a base for linked clones, making the creation
default: of new VMs take milliseconds on a modern system.
==> default: Importing base box 'StefanScherer/windows_2016_docker'...
==> default: Cloning VM...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'StefanScherer/windows_2016_docker' is up to date...
==> default: Setting the name of the VM: chocolatey-test-environment_default_1510128934328_78090
==> default: Fixed port collision for 3389 => 3389. Now on port 2200.
==> default: Fixed port collision for 5985 => 5985. Now on port 2201.
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
==> default: Forwarding ports...
default: 3389 (guest) => 2200 (host) (adapter 1)
default: 22 (guest) => 2222 (host) (adapter 1)
default: 5985 (guest) => 2201 (host) (adapter 1)
default: 5986 (guest) => 55986 (host) (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: WinRM address: 127.0.0.1:2201
default: WinRM username: vagrant
default: WinRM execution_time_limit: PT2H
default: WinRM transport: negotiate
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
==> default: Mounting shared folders...
default: /vagrant => C:/Users/stefan.scherer/GitHub/chocolatey-test-environment
default: /packages => C:/Users/stefan.scherer/GitHub/chocolatey-test-environment/packages
==> default: Running provisioner: shell...
default: Running: shell/PrepareWindows.ps1 as c:\tmp\vagrant-shell.ps1
==> default: IE Enhanced Security Configuration (ESC) has been disabled.
==> default: IE first run welcome screen has been disabled.
==> default: Setting Windows Update service to Manual startup type.
==> default: Running provisioner: shell...
default: Running: shell/InstallNet4.ps1 as c:\tmp\vagrant-shell.ps1
==> default: Running provisioner: shell...
default: Running: shell/InstallChocolatey.ps1 as c:\tmp\vagrant-shell.ps1
==> default: Mode LastWriteTime Length Name
==> default: ---- ------------- ------ ----
==> default: d----- 11/8/2017 12:16 AM chocInstall
==> default: Downloading https://chocolatey.org/api/v2/package/chocolatey/0.10.8 to C:\Users\vagrant\AppData\Local\Temp\chocolatey\chocInstall\chocolatey.zip
==> default: Download 7Zip commandline tool
==> default: Downloading https://chocolatey.org/7za.exe to C:\Users\vagrant\AppData\Local\Temp\chocolatey\chocInstall\7za.exe
==> default: Extracting C:\Users\vagrant\AppData\Local\Temp\chocolatey\chocInstall\chocolatey.zip to C:\Users\vagrant\AppData\Local\Temp\chocolatey\chocInstall.
..
==> default: 7-Zip (A) 9.20 Copyright (c) 1999-2010 Igor Pavlov 2010-11-18
==> default: Processing archive: C:\Users\vagrant\AppData\Local\Temp\chocolatey\chocInstall\chocolatey.zip
==> default: Extracting _rels\.rels
==> default: Extracting chocolatey.nuspec
==> default: Extracting tools\chocolateyInstall.ps1
==> default: Extracting tools\chocolateysetup.psm1
==> default: Extracting tools\init.ps1
==> default: Extracting tools\chocolateyInstall\choco.exe
==> default: Extracting tools\chocolateyInstall\choco.exe.ignore
==> default: Extracting tools\chocolateyInstall\choco.exe.manifest
==> default: Extracting tools\chocolateyInstall\CREDITS.txt
==> default: Extracting tools\chocolateyInstall\LICENSE.txt
==> default: Extracting tools\chocolateyInstall\helpers\chocolateyInstaller.psm1
==> default: Extracting tools\chocolateyInstall\helpers\chocolateyProfile.psm1
==> default: Extracting tools\chocolateyInstall\helpers\chocolateyScriptRunner.ps1
==> default: Extracting tools\chocolateyInstall\helpers\ChocolateyTabExpansion.ps1
==> default: Extracting tools\chocolateyInstall\helpers\functions\Format-FileSize.ps1
==> default: Extracting tools\chocolateyInstall\helpers\functions\Get-CheckSumValid.ps1
==> default: Extracting tools\chocolateyInstall\helpers\functions\Get-ChocolateyUnzip.ps1
==> default: Extracting tools\chocolateyInstall\helpers\functions\Get-ChocolateyWebFile.ps1
==> default: Extracting tools\chocolateyInstall\helpers\functions\Get-EnvironmentVariable.ps1
==> default: Extracting tools\chocolateyInstall\helpers\functions\Get-EnvironmentVariableNames.ps1
==> default: Extracting tools\chocolateyInstall\helpers\functions\Get-FtpFile.ps1
==> default: Extracting tools\chocolateyInstall\helpers\functions\Get-OSArchitectureWidth.ps1
==> default: Extracting tools\chocolateyInstall\helpers\functions\Get-PackageParameters.ps1
==> default: Extracting tools\chocolateyInstall\helpers\functions\Get-ToolsLocation.ps1
==> default: Extracting tools\chocolateyInstall\helpers\functions\Get-UACEnabled.ps1
==> default: Extracting tools\chocolateyInstall\helpers\functions\Get-UninstallRegistryKey.ps1
==> default: Extracting tools\chocolateyInstall\helpers\functions\Get-VirusCheckValid.ps1
==> default: Extracting tools\chocolateyInstall\helpers\functions\Get-WebFile.ps1
==> default: Extracting tools\chocolateyInstall\helpers\functions\Get-WebFileName.ps1
==> default: Extracting tools\chocolateyInstall\helpers\functions\Get-WebHeaders.ps1
==> default: Extracting tools\chocolateyInstall\helpers\functions\Install-BinFile.ps1
==> default: Extracting tools\chocolateyInstall\helpers\functions\Install-ChocolateyDesktopLink.ps1
==> default: Extracting tools\chocolateyInstall\helpers\functions\Install-ChocolateyEnvironmentVariable.ps1
==> default: Extracting tools\chocolateyInstall\helpers\functions\Install-ChocolateyExplorerMenuItem.ps1
==> default: Extracting tools\chocolateyInstall\helpers\functions\Install-ChocolateyFileAssociation.ps1
==> default: Extracting tools\chocolateyInstall\helpers\functions\Install-ChocolateyInstallPackage.ps1
==> default: Extracting tools\chocolateyInstall\helpers\functions\Install-ChocolateyPackage.ps1
==> default: Extracting tools\chocolateyInstall\helpers\functions\Install-ChocolateyPath.ps1
==> default: Extracting tools\chocolateyInstall\helpers\functions\Install-ChocolateyPinnedTaskBarItem.ps1
==> default: Extracting tools\chocolateyInstall\helpers\functions\Install-ChocolateyPowershellCommand.ps1
==> default: Extracting tools\chocolateyInstall\helpers\functions\Install-ChocolateyShortcut.ps1
==> default: Extracting tools\chocolateyInstall\helpers\functions\Install-ChocolateyVsixPackage.ps1
==> default: Extracting tools\chocolateyInstall\helpers\functions\Install-ChocolateyZipPackage.ps1
==> default: Extracting tools\chocolateyInstall\helpers\functions\Install-Vsix.ps1
==> default: Extracting tools\chocolateyInstall\helpers\functions\Set-EnvironmentVariable.ps1
==> default: Extracting tools\chocolateyInstall\helpers\functions\Set-PowerShellExitCode.ps1
==> default: Extracting tools\chocolateyInstall\helpers\functions\Start-ChocolateyProcessAsAdmin.ps1
==> default: Extracting tools\chocolateyInstall\helpers\functions\Test-ProcessAdminRights.ps1
==> default: Extracting tools\chocolateyInstall\helpers\functions\Uninstall-BinFile.ps1
==> default: Extracting tools\chocolateyInstall\helpers\functions\Uninstall-ChocolateyEnvironmentVariable.ps1
==> default: Extracting tools\chocolateyInstall\helpers\functions\Uninstall-ChocolateyPackage.ps1
==> default: Extracting tools\chocolateyInstall\helpers\functions\UnInstall-ChocolateyZipPackage.ps1
==> default: Extracting tools\chocolateyInstall\helpers\functions\Update-SessionEnvironment.ps1
==> default: Extracting tools\chocolat
==> default: Extracting tools\chocolateyInstall\helpers\functions\Write-ChocolateySuccess.ps1
==> default: Extracting tools\chocolateyInstall\helpers\functions\Write-FileUpdateLog.ps1
==> default: Extracting tools\chocolateyInstall\helpers\functions\Write-FunctionCallLogMessage.ps1
==> default: Extracting tools\chocolateyInstall\redirects\choco.exe
==> default: Extracting tools\chocolateyInstall\redirects\choco.exe.ignore
==> default: Extracting tools\chocolateyInstall\redirects\chocolatey.exe
==> default: Extracting tools\chocolateyInstall\redirects\chocolatey.exe.ignore
==> default: Extracting tools\chocolateyInstall\redirects\cinst.exe
==> default: Extracting tools\chocolateyInstall\redirects\cinst.exe.ignore
==> default: Extracting tools\chocolateyInstall\redirects\clist.exe
==> default: Extracting tools\chocolateyInstall\redirects\clist.exe.ignore
==> default: Extracting tools\chocolateyInstall\redirects\cpack.exe
==> default: Extracting tools\chocolateyInstall\redirects\cpack.exe.ignore
==> default: Extracting tools\chocolateyInstall\redirects\cpush.exe
==> default: Extracting tools\chocolateyInstall\redirects\cpush.exe.ignore
==> default: Extracting tools\chocolateyInstall\redirects\cuninst.exe
==> default: Extracting tools\chocolateyInstall\redirects\cuninst.exe.ignore
==> default: Extracting tools\chocolateyInstall\redirects\cup.exe
==> default: Extracting tools\chocolateyInstall\redirects\cup.exe.ignore
==> default: Extracting tools\chocolateyInstall\redirects\cver.exe
==> default: Extracting tools\chocolateyInstall\redirects\cver.exe.ignore
==> default: Extracting tools\chocolateyInstall\redirects\RefreshEnv.cmd
==> default: Extracting tools\chocolateyInstall\tools\7z.dll
==> default: Extracting tools\chocolateyInstall\tools\7z.dll.manifest
==> default: Extracting tools\chocolateyInstall\tools\7z.exe
==> default: Extracting tools\chocolateyInstall\tools\7z.exe.ignore
==> default: Extracting tools\chocolateyInstall\tools\7z.exe.manifest
==> default: Extracting tools\chocolateyInstall\tools\7zip.license.txt
==> default: Extracting tools\chocolateyInstall\tools\checksum.exe
==> default: Extracting tools\chocolateyInstall\tools\checksum.exe.config
==> default: Extracting tools\chocolateyInstall\tools\checksum.exe.ignore
==> default: Extracting tools\chocolateyInstall\tools\checksum.license.txt
==> default: Extracting tools\chocolateyInstall\tools\shimgen.exe
==> default: Extracting tools\chocolateyInstall\tools\shimgen.exe.ignore
==> default: Extracting tools\chocolateyInstall\tools\shimgen.license.txt
==> default: Extracting package\services\metadata\core-properties\572306d3793d450399abed41e7cd6692.psmdcp
==> default: Extracting [Content_Types].xml
==> default: Everything is Ok
==> default: Files: 91
==> default: Size: 10724638
==> default: Compressed: 5372647
==> default: Installing chocolatey on this machine
==> default: DEBUG: Initialize-Chocolatey
==> default: DEBUG: Host version is 5.1.14393.1532, PowerShell Version is '5.1.14393.1532' and CLR Version
==> default: is '4.0.30319.42000'.
==> default: DEBUG: Get-ChocolateyInstallFolder
==> default: DEBUG: Set-ChocolateyInstallFolder
==> default: DEBUG: Running Install-ChocolateyEnvironmentVariable -variableName 'ChocolateyInstall'
==> default: -variableValue '' -variableType 'User'
==> default: DEBUG: Running Set-EnvironmentVariable -Name 'ChocolateyInstall' -Value '' -Scope 'User'
==> default: DEBUG: Test-ProcessAdminRights: returning True
==> default: DEBUG: Administrator installing so using Machine environment variable target instead of User.
==> default: DEBUG: Running Install-ChocolateyEnvironmentVariable -variableName 'ChocolateyInstall'
==> default: -variableValue '' -variableType 'Machine'
==> default: DEBUG: Test-ProcessAdminRights: returning True
==> default: DEBUG: Running Set-EnvironmentVariable -Name 'ChocolateyInstall' -Value '' -Scope 'Machine'
==> default: Creating ChocolateyInstall as an environment variable (targeting 'Machine')
==> default: Setting ChocolateyInstall to 'C:\ProgramData\chocolatey'
==> default: WARNING: It's very likely you will need to close and reopen your shell
==> default: before you can use choco.
==> default: DEBUG: Running Install-ChocolateyEnvironmentVariable -variableName 'ChocolateyInstall'
==> default: -variableValue 'C:\ProgramData\chocolatey' -variableType 'Machine'
==> default: DEBUG: Test-ProcessAdminRights: returning True
==> default: DEBUG: Running Set-EnvironmentVariable -Name 'ChocolateyInstall' -Value
==> default: 'C:\ProgramData\chocolatey' -Scope 'Machine'
==> default: DEBUG: Registry type for ChocolateyInstall is/will be String
==> default: DEBUG:
==> default: using System;
==> default: using System.Runtime.InteropServices;
==> default: namespace Win32
==> default: {
==> default: public class NativeMethods
==> default: {
==> default: [DllImport("user32.dll", SetLastError = true, CharSet = CharSet.Auto)]
==> default: public static extern IntPtr SendMessageTimeout(
==> default: IntPtr hWnd, uint Msg, UIntPtr wParam, string lParam,
==> default: uint fuFlags, uint uTimeout, out UIntPtr lpdwResult);
==> default: }
==> default: }
==> default: DEBUG: Running Update-SessionEnvironment
==> default: DEBUG: Create-DirectoryIfNotExists
==> default: DEBUG: Ensure-Permissions
==> default: DEBUG: Test-ProcessAdminRights: returning True
==> default: DEBUG: Removing existing permissions.
==> default: Restricting write permissions to Administrators
==> default: DEBUG: Current user no longer set due to possible escalation of privileges - set
==> default: $env:ChocolateyInstallAllowCurrentUser="true" if you require this.
==> default: DEBUG: Set Owner to Administrators
==> default: DEBUG: Default Installation folder - removing inheritance with no copy
==> default: DEBUG: Allow users to append to log files.
==> default: DEBUG: Create-DirectoryIfNotExists
==> default: We are setting up the Chocolatey package repository.
==> default: The packages themselves go to 'C:\ProgramData\chocolatey\lib'
==> default: (i.e. C:\ProgramData\chocolatey\lib\yourPackageName).
==> default: A shim file for the command line goes to 'C:\ProgramData\chocolatey\bin'
==> default: and points to an executable in 'C:\ProgramData\chocolatey\lib\yourPackageName'.
==> default: Creating Chocolatey folders if they do not already exist.
==> default: WARNING: You can safely ignore errors related to missing log files when
==> default: upgrading from a version of Chocolatey less than 0.9.9.
==> default: 'Batch file could not be found' is also safe to ignore.
==> default: 'The system cannot find the file specified' - also safe.
==> default: DEBUG: Create-DirectoryIfNotExists
==> default: DEBUG: Create-DirectoryIfNotExists
==> default: DEBUG: Install-ChocolateyFiles
==> default: DEBUG: Removing install files in chocolateyInstall, helpers, redirects, and tools
==> default: DEBUG: Attempting to move choco.exe to choco.exe.old so we can place the new version here.
==> default: DEBUG: Unpacking files required for Chocolatey.
==> default: DEBUG: Copying the contents of
==> default: 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\chocInstall\tools\chocolateyInstall' to
==> default: 'C:\ProgramData\chocolatey'.
==> default: DEBUG: Ensure-ChocolateyLibFiles
==> default: DEBUG: Create-DirectoryIfNotExists
==> default: chocolatey.nupkg file not installed in lib.
==> default: Attempting to locate it from bootstrapper.
==> default: DEBUG: First the zip file at
==> default: 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\chocInstall\chocolatey.zip'.
==> default: DEBUG: Then from a neighboring chocolatey.*nupkg file
==> default: 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\chocInstall\tools/../../'.
==> default: DEBUG: Copying 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\chocInstall\chocolatey.zip' to
==> default: 'C:\ProgramData\chocolatey\lib\chocolatey\chocolatey.nupkg'.
==> default: DEBUG: Install-ChocolateyBinFiles
==> default: DEBUG: Installing the bin file redirects
==> default: DEBUG: Attempting to copy C:\ProgramData\chocolatey\redirects\choco.exe to
==> default: C:\ProgramData\chocolatey\bin\choco.exe
==> default: DEBUG: Added command choco
==> default: DEBUG: Attempting to copy C:\ProgramData\chocolatey\redirects\chocolatey.exe to
==> default: C:\ProgramData\chocolatey\bin\chocolatey.exe
==> default: DEBUG: Added command chocolatey
==> default: DEBUG: Attempting to copy C:\ProgramData\chocolatey\redirects\cinst.exe to
==> default: C:\ProgramData\chocolatey\bin\cinst.exe
==> default: DEBUG: Added command cinst
==> default: DEBUG: Attempting to copy C:\ProgramData\chocolatey\redirects\clist.exe to
==> default: C:\ProgramData\chocolatey\bin\clist.exe
==> default: DEBUG: Added command clist
==> default: DEBUG: Attempting to copy C:\ProgramData\chocolatey\redirects\cpack.exe to
==> default: C:\ProgramData\chocolatey\bin\cpack.exe
==> default: DEBUG: Added command cpack
==> default: DEBUG: Attempting to copy C:\ProgramData\chocolatey\redirects\cpush.exe to
==> default: C:\ProgramData\chocolatey\bin\cpush.exe
==> default: DEBUG: Added command cpush
==> default: DEBUG: Attempting to copy C:\ProgramData\chocolatey\redirects\cuninst.exe to
==> default: C:\ProgramData\chocolatey\bin\cuninst.exe
==> default: DEBUG: Added command cuninst
==> default: DEBUG: Attempting to copy C:\ProgramData\chocolatey\redirects\cup.exe to
==> default: C:\ProgramData\chocolatey\bin\cup.exe
==> default: DEBUG: Added command cup
==> default: DEBUG: Attempting to copy C:\ProgramData\chocolatey\redirects\cver.exe to
==> default: C:\ProgramData\chocolatey\bin\cver.exe
==> default: DEBUG: Added command cver
==> default: DEBUG: Attempting to copy C:\ProgramData\chocolatey\redirects\RefreshEnv.cmd to
==> default: C:\ProgramData\chocolatey\bin\RefreshEnv.cmd
==> default: DEBUG: Added command RefreshEnv
==> default: DEBUG: Initialize-ChocolateyPath
==> default: DEBUG: Initializing Chocolatey Path if required
==> default: DEBUG: Test-ProcessAdminRights: returning True
==> default: DEBUG: Administrator installing so using Machine environment variable target instead of User.
==> default: DEBUG: Running Install-ChocolateyPath -pathToInstall 'C:\ProgramData\chocolatey\bin' -pathType
==> default: 'Machine'
==> default: DEBUG: Running Update-SessionEnvironment
==> default: PATH environment variable does not have C:\ProgramData\chocolatey\bin in it. Adding...
==> default: DEBUG: Test-ProcessAdminRights: returning True
==> default: DEBUG: Running Set-EnvironmentVariable -Name 'Path' -Value
==> default: 'C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell
==> default: \v1.0\;C:\Program Files\Docker;C:\ProgramData\chocolatey\bin;' -Scope 'Machine'
==> default: DEBUG: Registry type for Path is/will be ExpandString
==> default: DEBUG: Running Update-SessionEnvironment
==> default: DEBUG: Process-ChocolateyBinFiles
==> default: DEBUG: Host version is 5.1.14393.1532, PowerShell Version is '5.1.14393.1532' and CLR Version
==> default: is '4.0.30319.42000'.
==> default: DEBUG: Add-ChocolateyProfile
==> default: WARNING: Not setting tab completion: Profile file does not exist at
==> default: 'C:\Users\vagrant\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1'.
==> default: DEBUG: Install-DotNet4IfMissing called with $forceFxInstall=False
==> default: Chocolatey (choco.exe) is now ready.
==> default: You can call choco from anywhere, command line or powershell by typing choco.
==> default: Run choco /? for a list of functions.
==> default: You may need to shut down and restart powershell and/or consoles
==> default: first prior to using choco.
==> default: DEBUG: Remove-OldChocolateyInstall
==> default: Ensuring chocolatey commands are on the path
==> default: Ensuring chocolatey.nupkg is in the lib folder
==> default: Chocolatey v0.10.8
==> default: autoUninstaller was enabled by default. Explicitly setting value.
==> default: Enabled autoUninstaller
==> default: Chocolatey v0.10.8
==> default: Enabled allowGlobalConfirmation
==> default: Chocolatey v0.10.8
==> default: Enabled logEnvironmentValues
==> default: Running provisioner: shell...
default: Running: shell/NotifyGuiAppsOfEnvironmentChanges.ps1 as c:\tmp\vagrant-shell.ps1
==> default: 1
==> default: SUCCESS: Specified value was saved.
==> default: Running provisioner: shell...
default: Running: inline PowerShell script
==> default: SUCCESS: Specified value was saved.
==> default: Testing package if a line is uncommented.
==> default: Exit code was 0
C:\Users\stefan.scherer\GitHub\chocolatey-test-environment [master ≡ +0 ~1 -0 !]>