Merge pull request #4 from bdrewery/promotion-fix
Promote all filesystems under the new BE, not just the root
This commit is contained in:
commit
b194a37c5f
2
beadm
2
beadm
|
|
@ -166,7 +166,7 @@ case ${1} in
|
||||||
zfs list -H -o name -t filesystem -r ${POOL}/ROOT/${2} \
|
zfs list -H -o name -t filesystem -r ${POOL}/ROOT/${2} \
|
||||||
| while read I
|
| while read I
|
||||||
do
|
do
|
||||||
zfs promote ${POOL}/ROOT/${2} 2> /dev/null
|
zfs promote ${I} 2> /dev/null
|
||||||
done
|
done
|
||||||
echo "Activated successfully"
|
echo "Activated successfully"
|
||||||
;;
|
;;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue