Update git url
This commit is contained in:
12
README.md
12
README.md
@@ -3,34 +3,36 @@
|
|||||||
## Oneliner
|
## Oneliner
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl -fsSL https://raw.githubusercontent.com/CHANGE_ME/linux-bootstrap/main/install.sh | bash
|
|
||||||
|
curl -fsSL https://gitea.big-chungus.me/moritz/linux-bootstrap/raw/branch/master/install.sh | bash
|
||||||
```
|
```
|
||||||
|
|
||||||
Forward flags to the bootstrapper after `--`:
|
Forward flags to the bootstrapper after `--`:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# skip hardening, set hostname
|
# skip hardening, set hostname
|
||||||
curl -fsSL https://raw.githubusercontent.com/CHANGE_ME/linux-bootstrap/main/install.sh \
|
curl -fsSL https://gitea.big-chungus.me/moritz/linux-bootstrap/raw/branch/master/install.sh \
|
||||||
| bash -s -- --skip hardening --hostname web01
|
| bash -s -- --skip hardening --hostname web01
|
||||||
|
|
||||||
# everything including hardening
|
# everything including hardening
|
||||||
curl -fsSL .../install.sh | bash -s -- --only base,cli,neovim,motd,shell,hardening
|
curl -fsSL https://gitea.big-chungus.me/moritz/linux-bootstrap/raw/branch/master/install.sh | bash -s -- --only base,cli,neovim,motd,shell,hardening
|
||||||
```
|
```
|
||||||
|
|
||||||
Override repo/ref/dest via env:
|
Override repo/ref/dest via env:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
REF=dev DEST=/srv/bootstrap curl -fsSL .../install.sh | bash
|
REF=dev DEST=/srv/bootstrap curl -fsSL https://gitea.big-chungus.me/moritz/linux-bootstrap/raw/branch/master/install.sh | bash
|
||||||
```
|
```
|
||||||
|
|
||||||
### Pure-git alternative (if git is already present)
|
### Pure-git alternative (if git is already present)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone --depth=1 https://github.com/CHANGE_ME/linux-bootstrap.git /opt/linux-bootstrap \
|
git clone --depth=1 https://gitea.big-chungus.me/moritz/linux-bootstrap.git /opt/linux-bootstrap \
|
||||||
&& /opt/linux-bootstrap/bootstrap.sh
|
&& /opt/linux-bootstrap/bootstrap.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
## Modules
|
## Modules
|
||||||
|
|
||||||
| module | default | description |
|
| module | default | description |
|
||||||
|------------|:------:|-------------|
|
|------------|:------:|-------------|
|
||||||
| `base` | yes | apt update/upgrade + essentials: git, curl, tmux, htop, tree, rsync, jq, dnsutils, mtr, build-essential, … |
|
| `base` | yes | apt update/upgrade + essentials: git, curl, tmux, htop, tree, rsync, jq, dnsutils, mtr, build-essential, … |
|
||||||
|
|||||||
Reference in New Issue
Block a user