trimurti: prevent installation of _sudo_ and add step for exporting the zpool
This commit is contained in:
parent
df49503ad4
commit
aa9d180137
|
@ -79,6 +79,14 @@ reboot +0
|
||||||
|
|
||||||
### apt configuration
|
### apt configuration
|
||||||
|
|
||||||
|
`sudo` is not needed, switch to `doas`
|
||||||
|
|
||||||
|
```bash
|
||||||
|
echo "Package: sudo
|
||||||
|
Pin: release *
|
||||||
|
Pin-Priority: -1" | tee /etc/apt/preferences.d/90_sudo
|
||||||
|
```
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
echo "# this file was edited by Pratham Patel
|
echo "# this file was edited by Pratham Patel
|
||||||
|
|
||||||
|
@ -428,8 +436,27 @@ systemctl --user enable container-caddy-vishwambhar container-gitea-chitragupta
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
## Stage 0111: sharing zpool
|
||||||
|
|
||||||
## Stage 0111: cron
|
### exports
|
||||||
|
|
||||||
|
[docs](https://manpages.debian.org/testing/nfs-kernel-server/exports.5.en.html)
|
||||||
|
|
||||||
|
Add the following lines to the `/etc/exports` file:
|
||||||
|
|
||||||
|
```
|
||||||
|
/brahmaand 10.0.0.0/8(ro,insecure,subtree_check,crossmnt)
|
||||||
|
```
|
||||||
|
|
||||||
|
Then, export it.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
sudo exportfs -rva
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Stage 1000: cron
|
||||||
|
|
||||||
### user crontab
|
### user crontab
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue