5 Commits

3 changed files with 7 additions and 10 deletions

View File

@@ -54,6 +54,7 @@ openssh-{client,server} \
popularity-contest \ popularity-contest \
printer-driver-all \ printer-driver-all \
rsync \ rsync \
sudo \
systemd-timesyncd \ systemd-timesyncd \
tasksel \ tasksel \
zfs-initramfs \ zfs-initramfs \

View File

@@ -35,9 +35,9 @@ nmcli radio wifi on
nmcli device wifi list nmcli device wifi list
printf "Enter the SSID of the WiFi network you wish to connect to:\n" printf "Enter the SSID of the WiFi network you wish to connect to:\n"
read -r WIFI_NAME read -r wifiName
nmcli --ask device wifi connect ${wifiName} nmcli --ask device wifi connect "${wifiName}"
cat << EOF cat << EOF

12
zfs.sh
View File

@@ -222,17 +222,13 @@ if [[ "${1}" == '--key' ]]; then
fi fi
if [[ "${1}" == '--unmount' ]]; then if [[ "${1}" == '--unmount' ]]; then
mount | grep -v zfs | tac | awk '/\/mnt/ {print $3}' | xargs -I {} umount -lf {} umount \
-nR \
if [[ "${ID}" == 'fedora' ]]; then /mnt
umount \
-nR \
/mnt
fi
zpool \ zpool \
export \ export \
-a ${hostname,,}
fi fi
if [[ "${1}" == '--host-id' ]]; then if [[ "${1}" == '--host-id' ]]; then