[indiana-discuss] pkg & zones

Robert Milkowski milek at task.gda.pl
Wed Sep 3 02:44:47 PDT 2008


Hello pkg-discuss,


I created a new test zone on OS b96.

I was surprised that during zone install packages were being
downloaded from repository rather then doing local copy.

Then the package list is entirely different than the one in a global
zone (much smaller by default).

Zone is a whole root zone by default (somehow I have a feeling there's
no choice).

How does it work with image updates in global zone?






milek at milek-desktop:~# zonecfg -z test export
create -b
set zonepath=/zones/test
set brand=ipkg
set autoboot=false
set ip-type=shared
milek at milek-desktop:~#


milek at milek-desktop:~# zoneadm -z test install
A ZFS file system has been created for this zone.
  Authority: Using http://pkg.opensolaris.org:80/.
      Image: Preparing at /zones/test/root ... done.
 Installing: (output follows)
DOWNLOAD                                    PKGS       FILES     XFER (MB)
Completed                                  51/51   7873/7873 209.19/209.19

PHASE                                        ACTIONS
Install Phase                            12962/12962
PHASE                                          ITEMS
Reading Existing Index                           8/8
Indexing Packages                              51/51

       Note: Man pages can be obtained by installing SUNWman
Postinstall: Copying SMF seed repository ... done.
Postinstall: Working around http://defect.opensolaris.org/bz/show_bug.cgi?id=681
Postinstall: Working around http://defect.opensolaris.org/bz/show_bug.cgi?id=741
       Done: Installation completed in 530.337 seconds.

 Next Steps: Boot the zone, then log into the zone console
             (zlogin -C) to complete the configuration process
milek at milek-desktop:~#



-- 
Best regards,
 Robert Milkowski                          mailto:milek at task.gda.pl
                                     http://milek.blogspot.com




More information about the indiana-discuss mailing list