bootstrap/README.md

30 lines
787 B
Markdown
Raw Permalink Normal View History

2018-08-24 17:34:12 -05:00
# Salt's Bootstrap Script
2018-12-25 21:46:28 -06:00
2020-11-10 09:57:29 -06:00
A script to bootstrap a user with git and some auxiliary tools.
2018-08-24 17:34:12 -05:00
2020-11-29 21:39:44 -06:00
## Building User Home
2018-12-25 21:46:28 -06:00
2020-08-10 23:37:20 -05:00
Download and run the latest `bootstrap.sh`:
2018-08-24 17:34:12 -05:00
2020-11-29 21:39:44 -06:00
```
cd
2020-12-30 21:37:49 -06:00
git clone https://git.desu.ltd/salt/bootstrap
2020-11-29 21:39:44 -06:00
./bootstrap/bootstrap.sh $HOME
```
2018-10-19 21:01:30 -05:00
2020-11-29 21:39:44 -06:00
## Building a Gentoo Install
First, partition out the system and build a filesystem tree in `/mnt`.
Then, download and run the latest `gentoostrap.sh`:
```
cd
2020-12-30 21:37:49 -06:00
git clone https://git.desu.ltd/salt/bootstrap
2020-11-29 21:39:44 -06:00
sudo ./bootstrap/gentoostrap.sh
```
The script supports a fair few arguments, so it's worth looking into `gentoostrap.sh -h` if you need to customize the system.
Note that this is highly specific to my environment. Most of the configuration management is done in Ansible, but this will create a user with my own personal setup.