/boot

Installation scripts, aka bootstraps

Primary LanguagePowerShellMIT LicenseMIT

README

Options

Simple bootstrap scripts for new installations.

The intention for these scripts are to setup a new system in a standardized way with minimum user intervention. But a lot of things might need customization anyway. Works on my machine…

Linux

boot.sh

Install

curl https://boot.charlottendal.net/boot.sh|bash

Windows

boot.ps1

Install

In powershell as admin.

iwr "https://boot.charlottendal.net/boot.ps1" -OutFile boot.ps1
Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy RemoteSigned -Force
.\boot.ps1

Install basic PowerShell profile

Install a PowerShell profile on systems that should have a minimum of third party software installed, like servers. This will most likely only work on the Desktop version of PowerShell on Windows, ie 4.0 and up.

[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls11 -bor [System.Net.SecurityProtocolType]::Tls12
Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy RemoteSigned -Force
New-Item $Profile.CurrentUserAllHosts -Force
iwr "https://boot.charlottendal.net/profile.ps1" -OutFile $Profile
. $profile
Set-PSConsole

GitHub src

Testing

Put certificates if needed in the Build folder and do a gen-sandboxconf.ps1 in that folder. Start with .\boot-sandbox.wsb

This will start the Windows sandbox and run the installation.