Zonemgr 1.8 released
By John Clingan on Jan 22, 2007
Brad Diggs sent out the notice that zonemgr 1.8 has been released. Zonemgr is a script to facilitate zone creation. In one readable command line (with no semicolons but a boatload of backslashes for readability), you can create a zone and apply some zone-candy. Here is an example:
# zonemgr \\
-a add \\ # Add zone
-n clingan \\ # Name the zone (Clingan Zone )
-z /zones \\ # Base zone directory, will create /zones/clingan
-E /tmp/password \\ # Point to a file with the zone's root password
-t s \\ # Make it a sparse zone
-I "10.10.10.10|e1000g0|255.255.255.0|clingan|" \\
\\ # That'll plumb e1000g0 with the host name of "clingan"
-r "/opt/csw|/opt/csw" \\
\\ # That'll read-only mount the blastwave bits to the local zone
-N "mynfsserver|/export/install|/mnt|ro" \\
# That'll mount nfsserver:/export/install to /mnt read-only
Creating zones with zonecfg and zoneadm is straightforward. As you can see, zonemgr makes creating zones a bit more convenient.
For what its worth, I added the BrandZ support in 1.7 and updated the support in 1.8. I did test the code but I'll admit it's not thorough enough. Feel free to test. My plans now are to write a GUI to front end the script.