Add NFS client packages (nfs-common on Debian, nfs-utils on Alpine)
Needed for NFS mounts. Included in the best-effort CLI tools list so a missing/conflicting package never aborts the bootstrap. README + header updated.
This commit is contained in:
@@ -54,7 +54,9 @@ git clone git@git.ivanch.me:ivanch/dotfiles.git /tmp/dotfiles && \
|
|||||||
The installer:
|
The installer:
|
||||||
|
|
||||||
1. Detects the OS / package manager (`apt` on Debian, `apk` on Alpine) and
|
1. Detects the OS / package manager (`apt` on Debian, `apk` on Alpine) and
|
||||||
installs `git curl zsh vim` plus `htop` and `fzf`.
|
installs `git curl wget zsh vim`, plus CLI tools `htop`, `fzf`, `nslookup`
|
||||||
|
(dnsutils/bind-tools) and the NFS client (`nfs-common`/`nfs-utils` for
|
||||||
|
NFS mounts). `kubectl` is installed if available in the repos.
|
||||||
2. Installs oh-my-zsh (unattended) + the `zsh-autosuggestions` plugin.
|
2. Installs oh-my-zsh (unattended) + the `zsh-autosuggestions` plugin.
|
||||||
3. Copies the `servers/` dotfiles into `$HOME`.
|
3. Copies the `servers/` dotfiles into `$HOME`.
|
||||||
4. Clones the Vim plugins declared in `.vimrc` (dracula, lightline,
|
4. Clones the Vim plugins declared in `.vimrc` (dracula, lightline,
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
# What it does:
|
# What it does:
|
||||||
# 1. Detects the OS and package manager (apt on Debian, apk on Alpine).
|
# 1. Detects the OS and package manager (apt on Debian, apk on Alpine).
|
||||||
# 2. Installs base tooling (git, curl, wget, zsh, vim) + CLI tools
|
# 2. Installs base tooling (git, curl, wget, zsh, vim) + CLI tools
|
||||||
# (htop, fzf, nslookup, kubectl when available) for both distros.
|
# (htop, fzf, nslookup, nfs client, kubectl when available) for both distros.
|
||||||
# 3. Installs oh-my-zsh (unattended) and the zsh-autosuggestions plugin.
|
# 3. Installs oh-my-zsh (unattended) and the zsh-autosuggestions plugin.
|
||||||
# 4. Deploys the generic server/ dotfiles.
|
# 4. Deploys the generic server/ dotfiles.
|
||||||
# 5. Installs Vim plugins (clones each plugin declared in .vimrc).
|
# 5. Installs Vim plugins (clones each plugin declared in .vimrc).
|
||||||
@@ -105,10 +105,11 @@ install_packages() {
|
|||||||
# nslookup -> dnsutils (Debian) / bind-tools (Alpine)
|
# nslookup -> dnsutils (Debian) / bind-tools (Alpine)
|
||||||
# fzf -> community repo on Alpine, main on Debian
|
# fzf -> community repo on Alpine, main on Debian
|
||||||
# htop -> main on both
|
# htop -> main on both
|
||||||
|
# nfs client-> nfs-common (Debian) / nfs-utils (Alpine) [for NFS mounts]
|
||||||
if [ "$PKG" = "apk" ]; then
|
if [ "$PKG" = "apk" ]; then
|
||||||
CLI_TOOLS="htop fzf bind-tools"
|
CLI_TOOLS="htop fzf bind-tools nfs-utils"
|
||||||
else
|
else
|
||||||
CLI_TOOLS="htop fzf dnsutils"
|
CLI_TOOLS="htop fzf dnsutils nfs-common"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$PKG" = "apk" ]; then
|
if [ "$PKG" = "apk" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user