Print this page
Last illumos-joyent commit:  d21e83058c8edeb1becd9202380d088cb056f0c4
Last illumos-joyent commit:  6a41e7224f5dce21547e07eced881016dac9e18a
Last illumos-joyent commit: 12a530b543020dda34973ca16b31b66007141141
Update README to reflect recent developments.
Last illumos-joyent commit:  0c8abfcb7a94e2016322218587cc80b4bd710642
Last illumos-joyent commit:  fae673de1d84b263986f4dcdde53f15478ad664d
Last illumos-joyent commit:  8f78817ba2018a5f76ebe78b251e2ad4b5b35457
Last illumos-joyent commit:  bd10f95d113c1cd280d324e137d4b9f1a75fb23e
LX zones now boot, with enough configuration a priori.
Much more testing is required.
Last illumos-joyent commit: e21a4068a53d8be1a50ef97dfcc0e3d66aaf00b2
Update last illumos-joyent commit
Start tracking last illumos-joyent commit we used for pulling LX changes
Update README

Split Close
Expand all
Collapse all
          --- old/README
          +++ new/README
        1 +Last illumos-joyent commit:  d21e83058c8edeb1becd9202380d088cb056f0c4
        2 +
        3 +This is an attempt to port over LX zones into OmniOS.  It's going to be a long,
        4 +painful slog, and I don't mean the ZFS kind, either.  :)
        5 +
        6 +An IPS repo that matches public updates of the r151019 bloody repo can be
        7 +found at http:/pkg.omniti.com/omnios/LX/.  ipkg and lipkg zones can boot,
        8 +appear to be fully functional, but need more testing.  LX zones can be
        9 +installed using ZFS send streams (gzipped or uncompressed) from Joyent's
       10 +images, or from tarballs often used for Docker image setup.  The
       11 +"kernel-version" attribute must be set by the administrator to match the
       12 +installed image.  For example:
       13 +
       14 +        # zonecfg -z lx0 export
       15 +        create -b
       16 +        set zonepath=/zones/lx0
       17 +        set brand=lx
       18 +        set autoboot=false
       19 +        set ip-type=exclusive
       20 +        add net
       21 +        set physical=lx0
       22 +        end
       23 +        add attr
       24 +        set name=kernel-version
       25 +        set type=string
       26 +        set value=2.6.32
       27 +        end
       28 +        #
       29 +
       30 +This matches a CentOS 6.8 image from Joyent.  To install the image:
       31 +
       32 +     zoneadm -z lx0 install -s /root/path/to/centos68.gz
       33 +
       34 +A tarball install uses the -t flag instead:
       35 +
       36 +     zoneadm -z lx0 install -s /root/path/to/docker-ubuntu.tgz
       37 +
       38 +Effective September 1st, one can use SmartOS-style IP address and DNS
       39 +configuration using zonecfg parameters.  Here's the above zone with a pre-
       40 +configured set of networking parameters:
       41 +
       42 +        # zonecfg -z lx0 export
       43 +        create -b
       44 +        set zonepath=/zones/lx0
       45 +        set brand=lx
       46 +        set autoboot=false
       47 +        set ip-type=exclusive
       48 +        add net
       49 +        set physical=lx0
       50 +        add property (name=gateway,value="192.168.0.1")
       51 +        add property (name=ips,value="192.168.0.69/24")
       52 +        add property (name=primary,value="true")
       53 +        end
       54 +        add attr
       55 +        set name=dns-domain
       56 +        set type=string
       57 +        set value=example.com
       58 +        end
       59 +        add attr
       60 +        set name=resolvers
       61 +        set type=string
       62 +        set value=192.168.0.1
       63 +        end
       64 +        add attr
       65 +        set name=kernel-version
       66 +        set type=string
       67 +        set value=2.6.32
       68 +        end
       69 +        #
       70 +
       71 +You'd obtain the .gz file from Joyent's image servers.
       72 +
       73 +LX zones boot, and if not configured with zonecfg(1M), one needs to use
       74 +/native tools and/or scripts to configure networking on them.  (NOTE:  This
       75 +follows the OmniOS adminstrative model for zones.)  LX zones need even more
       76 +testing than ipkg/lipkg zones, but appear to at least boot and allow both
       77 +"zlogin -C" console logins and "zlogin" direct logins.  Some distros do not
       78 +present a console login on the first boot, and the zone may need to be
       79 +rebooted
       80 +
       81 +I reserve the right to burn this repo to the ground and start fresh.
       82 +
       83 +This repo also has the "joyent" branch, which is a downstream of illumos-joyent.
       84 +
       85 +Thanks -- Dan
       86 +
       87 +===========
       88 +
   1   89  illumos gate README - Sep 16, 2012.
   2   90  
   3   91  This is the illumos gate.  This is the illumos source tree.  It contains
   4   92  the following subdirectories:
   5   93  
   6   94          usr/src -               The actual source code
   7   95  
   8   96          exception_lists -       These are lists of exceptional cases
   9   97                                  used to limit noise during builds.
  10   98                                  Ideally this directory would consist of
↓ open down ↓ 39 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX