This repository will help me bootstrap my machines (mostly workstations).
-
Boot a Fedora Workstation live image on the target system.
-
Install and reboot.
-
Run the setup script. This snippet will:
- Download the public key for key id: 6BFF495F6EF46E6E (https://keybase.io/binbash)
- Download the setup script and its signature
- Verify the signature and check the authenticity of the setup script
PRIMARY_KEY="2490AACAD97245B59ACCB7A96BFF495F6EF46E6E" && \ curl -s https://keybase.io/binbash/pgp_keys.asc | gpg --import curl -sL --remote-name-all \ dels.ink/bootstrap/bin/setup-workstation.sh \ dels.ink/bootstrap/bin/setup-workstation.sh.sig gpg --assert-signer "${PRIMARY_KEY}" --verify setup-workstation.sh.sig setup-workstation.sh && \ chmod +x setup-workstation.sh && ./setup-workstation.sh
-
Optionally configure dotfiles from idelsink/dotfiles
When the setup-workstation.sh script is updated, a new detached signature file needs to be generated so that the script can be validated when downloaded.
gpg \
--local-user <name or (sub)key to sign with> \
--sign \
--armor \
--output bin/setup-workstation.sh.sig \
--detach-sign bin/setup-workstation.sh