8 Commits

4 changed files with 15 additions and 10 deletions

View File

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

View File

@@ -6,15 +6,23 @@ mount \
--types proc \
proc \
/mnt/proc
mount \
--types sysfs \
sys \
/mnt/sys
mount \
--bind \
/dev \
/mnt/dev
mount \
--types devpts \
pts \
/mnt/dev/pts
mount \
--types efivarfs \
efivarfs \
/mnt/sys/firmware/efi/efivars

View File

@@ -35,9 +35,9 @@ nmcli radio wifi on
nmcli device wifi list
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

6
zfs.sh
View File

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