Skip to content

Commit

Permalink
(MAINT) Pin Boxstarter to V 2.9.26
Browse files Browse the repository at this point in the history
Boxstarter is misbehaving again, so pin to earlier version.
Issue chocolatey/boxstarter#265 logged
against Boxstarter.
  • Loading branch information
John O'Connor committed Jul 24, 2017
1 parent 4983400 commit 4193be9
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions scripts/windows/start-boxstarter.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,22 @@ if ($WindowsVersion -like $WindowsServer2008 ) {
}
}
else {
iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/mwrock/boxstarter/master/BuildScripts/bootstrapper.ps1'))
Get-Boxstarter -Force
# Latest version of Boxstarter is breaking the build, so pinning to Version 2.9.26 until it is resolved.
# Issue logged https://github.com/mwrock/boxstarter/issues/265

$BoxstarterPackages = @(
'boxstarter',
'boxstarter.common',
'boxstarter.winconfig',
'boxstarter.bootstrapper',
'boxstarter.chocolatey',
'boxstarter.hyperv'
)
$BoxstarterPackages | % {
iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
choco install $_ -y --force --version "2.9.26" --argsglobal=true --paramsglobal=true --ignoredependencies=true
choco pin add --name="$_"
}
}

# Cleanup after boxstarter install
Expand Down

0 comments on commit 4193be9

Please sign in to comment.