Update setup.sh
This commit is contained in:
parent
3dbbf57ab2
commit
ee12cc20f7
1 changed files with 3 additions and 3 deletions
6
setup.sh
6
setup.sh
|
@ -1,7 +1,7 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# setup.sh – Interactive Debian VM bootstrap wizard #
|
# setup.sh - Interactive Debian VM bootstrap wizard #
|
||||||
# Jordan‑friendly edition (whiptail UI, aliases, neofetch, CIFS, etc.) #
|
# Jordan-friendly edition (whiptail UI, aliases, neofetch, CIFS, etc.) #
|
||||||
###############################################################################
|
###############################################################################
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
|
@ -156,7 +156,7 @@ for host in "${CIFS_HOSTS[@]}"; do
|
||||||
grep -q "${host}.wageshouse" /etc/fstab || printf "# $TEMPLATE\n" "username" "password" >> /etc/fstab
|
grep -q "${host}.wageshouse" /etc/fstab || printf "# $TEMPLATE\n" "username" "password" >> /etc/fstab
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
if ! mount -a 2>>"$LOGFILE"; then msg "⚠️ Some CIFS mounts failed. Re‑run the script to correct credentials."; fi
|
if ! mount -a 2>>"$LOGFILE"; then msg "⚠️ Some CIFS mounts failed. Re-run the script to correct credentials."; fi
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# Summary #
|
# Summary #
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue