Kenneth Benzie (Benie) fbf1530d01 Update bootstrap-Windows.ps1 script
* Add 1Password install step
* Add Scoop install step
* Remove SSH key generation step
* Make 1Password, Hyper-V, Containers, and SSH Server steps optional
* Refactor to run Scoop install as unelevated then relaunch as elevated
  for remaining tasks
2024-08-09 14:42:40 +01:00
2018-01-04 18:39:01 +00:00
2019-09-17 20:38:15 +01:00
2018-06-03 22:05:27 +01:00
2020-12-31 15:16:52 +00:00
2018-01-08 11:48:33 +00:00
2024-08-09 14:42:40 +01:00
2018-01-08 11:48:29 +00:00

bootstrap

Bootstrap an OS instance with bare essentials.

Usage

To bootstrap a macOS instance:

$ curl -O https://code.infektor.net/config/bootstrap/raw/master/bootstrap-macOS.sh && chmod +x bootstrap-macOS.sh && ./bootstrap-macOS.sh

To bootstrap a Debian based Linux instance:

$ wget https://code.infektor.net/config/bootstrap/raw/master/bootstrap-Debian.sh && chmod +x bootstrap-Debian.sh && ./bootstrap-Debian.sh

To bootstrap a Arch Linux based instance:

$ curl -O https://code.infektor.net/config/bootstrap/raw/master/bootstrap-Arch.sh && chmod +x bootstrap-Arch.sh && ./bootstrap-Arch.sh

To bootstrap a Fedora Linux instance:

$ curl -O https://code.infektor.net/config/bootstrap/raw/master/bootstrap-Fedora.sh && chmod +x bootstrap-Fedora.sh && ./bootstrap-Fedora.sh

To bootstrap a Windows instance:

$ Set-ExecutionPolicy Bypass -Scope Process -Force; Invoke-WebRequest -Uri "https://git.infektor.net/config/bootstrap/raw/update/bootstrap-Windows.ps1" -OutFile "./bootstrap-Windows.ps1"; ./bootstrap-Windows.ps1

Package

Install as a pip package to set SSH keys on any of GitHub, GitLab, BitBucket Cloud, or Gogs servers:

$ pip install git+https://code.infektor.net/config/bootstrap.git
$ python -c 'import bootstrap; bootstrap.set_ssh_keys()'
Description
Bootstrap an OS instance with bare essentials.
Readme 164 KiB
Languages
Shell 61.6%
PowerShell 38.4%