Zonemgr 1.8 released

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.

Comments:

Post a Comment:
Comments are closed for this entry.
About

John Clingan

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today