Apr 24, 2009

How to name the new bootenvironment during the pkg image-udpate in OpenSolaris

The pkg command in OpenSolaris has an option, I didn't know during the last time.

The parameter is --be-name!! This let's set you the name of the new
bootenvironment during the upgrade.

pkg image-update --be-name

When not supplying the be-Name, the current name is used with an numeric
Also it is not always easy to change the new name.

The available bootenvironment can be listed with:
bash-3.2$ beadm list
BE Active Mountpoint Space Policy Created
-- ------ ---------- ----- ------ -------
OpenSolaris-Build111a NR / 19.32G static 2009-04-24 12:55
OpenSolaris-Build_110 - - 105.37M static 2009-03-29 14:50
OpenSolaris-Build_110-1 - - 26.75M static 2009-04-08 10:51