Skip to content

Instantly share code, notes, and snippets.

This file has been truncated, but you can view the full file.
2021/08/11 14:18:48 [INFO] Packer version: 1.7.0 [go1.15.8 windows amd64]
2021/08/11 14:18:48 [TRACE] discovering plugins in C:\ProgramData\chocolatey\lib\packer\tools
2021/08/11 14:18:48 [TRACE] discovering plugins in C:\Users\Richard Gavel\AppData\Roaming\packer.d\plugins
2021/08/11 14:18:48 [TRACE] discovering plugins in .
2021/08/11 14:18:48 [INFO] PACKER_CONFIG env var not set; checking the default config file path
2021/08/11 14:18:48 [INFO] PACKER_CONFIG env var set; attempting to open config file: C:\Users\Richard Gavel\AppData\Roaming\packer.config
2021/08/11 14:18:48 [WARN] Config file doesn't exist: C:\Users\Richard Gavel\AppData\Roaming\packer.config
2021/08/11 14:18:48 [INFO] Setting cache directory: E:\Core\core-image\image\core\packer_cache
cannot determine if process is in background: Process background check error: not implemented yet
@richardgavel
richardgavel / install.sh
Created April 1, 2020 23:23
Install Ascendon server components
sudo add-apt-repository ppa:chris-lea/redis-server
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install redis-server
sudo service redis-server start
wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
sudo apt-get install apt-transport-https
sudo apt-get update
sudo apt-get install openjdk-8-jre
@richardgavel
richardgavel / install.ps1
Last active October 29, 2021 15:41
Install software (personal computer)
# Elevate to Adminstrator
if (!([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] "Administrator")) { Start-Process powershell.exe "-NoProfile -ExecutionPolicy Bypass -File `"$PSCommandPath`"" -Verb RunAs; exit }
# Add "This PC" desktop icon
$thisPCIconRegPath = "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel"
$thisPCRegValname = "{20D04FE0-3AEA-1069-A2D8-08002B30309D}"
$item = Get-ItemProperty -Path $thisPCIconRegPath -Name $thisPCRegValname -ErrorAction SilentlyContinue
if ($item) {
Set-ItemProperty -Path $thisPCIconRegPath -name $thisPCRegValname -Value 0
choco source remove --name=chocolatey
choco source add --name=proget --source=http://artifacts.cddev.tv/nuget/ascendon.chocolatey/
choco feature enable --name=allowGlobalConfirmation
Write-Host "Installing Visual Studio 2017 & related add-ons"
choco install visualstudio2017professional
choco install visualstudio2017-workload-manageddesktop
choco install visualstudio2017-workload-netcoretools
choco install visualstudio2017-workload-netweb
choco install visualstudio2017-workload-visualstudioextension