reword message

This commit is contained in:
Heavybullets8 2022-10-22 12:02:25 -06:00
parent c79273cf02
commit 715f50b906

View File

@ -153,8 +153,8 @@ do
case $yesno in case $yesno in
[Yy] | [Yy][Ee][Ss]) [Yy] | [Yy][Ee][Ss])
# Set mountpoints to legacy prior to restore, ensures correct properties for the dataset are set # Set mountpoints to legacy prior to restore, ensures correct properties for the are set
echo -e "\nSetting correct dataset properties.." echo -e "\nSetting correct ZFS properties for application volumes.."
for pvc in $(zfs list -t filesystem -r "$(cli -c 'app kubernetes config' | grep -E "pool\s\|" | awk -F '|' '{print $3}' | tr -d " \t\n\r")" -o name -H | grep "/ix-applications/" | grep "volumes/pvc") for pvc in $(zfs list -t filesystem -r "$(cli -c 'app kubernetes config' | grep -E "pool\s\|" | awk -F '|' '{print $3}' | tr -d " \t\n\r")" -o name -H | grep "/ix-applications/" | grep "volumes/pvc")
do do
if zfs set mountpoint=legacy "$pvc"; then if zfs set mountpoint=legacy "$pvc"; then