Update 'freenas geli unlock.sh'
This commit is contained in:
@@ -7,5 +7,8 @@ ZFS_MOUNT_POINT="/mnt"
|
||||
|
||||
# loop through the geli keys and try to unlock any partition
|
||||
for key in $GELI_KEY_LOCATION/*; do
|
||||
echo "$key"
|
||||
done
|
||||
for disk in /dev/gptid/*; do
|
||||
geli attach -p -k ${key} ${disk}
|
||||
done
|
||||
done
|
||||
|
||||
|
||||
Reference in New Issue
Block a user