tack on releases folder to ZFS restrict

This commit is contained in:
Heavybullets8 2022-10-29 16:01:52 -06:00
parent 639f899627
commit 9e29b7b0eb

View File

@ -156,7 +156,7 @@ do
# Set mountpoints to legacy prior to restore, ensures correct properties for the are set
echo -e "\nSetting correct ZFS properties for application volumes.."
for pvc in $(zfs list -t filesystem -r "$pool"/ix-applications -o name -H | grep "volumes/pvc")
for pvc in $(zfs list -t filesystem -r "$pool"/ix-applications/releases -o name -H | grep "volumes/pvc")
do
if zfs set mountpoint=legacy "$pvc"; then
echo "Success for - \"$pvc\""