Fix dataset promote for making the boot environment active.
This commit is contained in:
parent
632e46e5af
commit
d111b1452d
6
beadm
6
beadm
|
|
@ -430,10 +430,10 @@ EOF
|
||||||
| while read NAME ORIGIN
|
| while read NAME ORIGIN
|
||||||
do
|
do
|
||||||
zfs set canmount=on ${NAME}
|
zfs set canmount=on ${NAME}
|
||||||
if [ "${ORIGIN}" != "-" ]
|
while __be_clone ${NAME}
|
||||||
then
|
do
|
||||||
zfs promote ${NAME}
|
zfs promote ${NAME}
|
||||||
fi
|
done
|
||||||
done
|
done
|
||||||
echo "Activated successfully"
|
echo "Activated successfully"
|
||||||
;;
|
;;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue