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 89 illumos gate README - Sep 16, 2012. 90 91 This is the illumos gate. This is the illumos source tree. It contains 92 the following subdirectories: 93 94 usr/src - The actual source code 95 96 exception_lists - These are lists of exceptional cases 97 used to limit noise during builds. 98 Ideally this directory would consist of 99 only empty files. 100 101 Integration Rules: 102 103 All changes must have been reviewed, and approved by an advocate 104 (below). A code review may be performed by someone other than the 105 advocate, but the final integration should still be approved by the 106 advocate. 107 108 The advocate will want to see your webrev and hg outgoing -v. The 109 advocate will also ask about your testing, and may ask to see your 110 build logs. 111 112 All changes must adhere to typical ON style and quality rules. 113 For example, pass full cstyle, applicable lint rules, etc. 114 115 All new code must be licensed under CDDL, and modifications to existing 116 code may not alter the original license terms. Integrations of code 117 from upstream sources that use another liberal open source license are 118 permissible, subject to approval of the advocates or developer council. 119 Exceptions to this policy shall require the approval of the developer 120 council. 121 122 Commits should have comments of the following form: 123 124 1234 This is a sample bug report synopsis 125 4567 If you have a second bug synopsis… 126 Reviewed by: Frodo Baggins <frodo.baggins@underhill.net> 127 Reviewed by: Legolas <elf-coder@mirkwood.org> 128 Approved by: Gandalf The Grey <rti-advocate@white-council.com> 129 130 Each commit must have at least one bug id that is listed in the 131 illumos-gate project at www.illumos.org. 132 133 RTI Advocates: advocates@lists.illumos.org 134 Developer Council: developer-council@lists.illumos.org 135 136 IRC channel: #illumos on irc.freenode.net 137 Mailing list: developer@lists.illumos.org