beadm: Enhance the invitation to reboot after creating a new BE
Apparently, some newcoming users don't instantly grasp all the concepts of OpenIndiana, and cloned boot environments in particular. It is possible for them to request system updates and reboot some time later, like they are used to with systems which apply downloaded updates on-the-fly or upon a reboot (see i.e. http://wiki.openindiana.org/display/oi/2011.Q4+-+Foreverware?focusedCommentId=23855490#comment-23855490).
This feature proposes to enhance the text messages output by beadm, X11 package manager and whatever other relevant tools there are (in different locales if appropriate), to remind that after the new BE with updates has been created, changes to the current BE will seem lost after a reboot.
NOTE this does not apply to cases where a backup BE was created, but the current one remains active for next boots as well.
# pkg image-update Packages to update: 901 Create boot environment: Yes Create backup boot environment: No ... A clone of oi_151a3-20120503 exists and has been updated and activated. On the next boot the Boot Environment oi_151a3-20120504 will be mounted on '/'. Reboot when ready to switch to this updated BE. PLEASE NOTE: Changes made to your current Boot Environment after this moment will not propagate to the new Boot Environment. You are urged to reboot ASAP. ...
Something like this, more or less dramatic ;)
Setting medium difficulty because it is likely that several tools need to be located and updated with this message, and text resources for several locales. Otherwise the task is trivial.