[OmniOS-discuss] LX on OmniOS update

Dan McDonald danmcd at omniti.com
Fri Aug 26 15:51:41 UTC 2016


I've updated all of the following URLs:

> On Jul 1, 2016, at 3:04 PM, Dan McDonald <danmcd at omniti.com> wrote:

> First some URLs.  The git repos are:
> 
> 	https://github.com/danmcd/io-lx-public/
> 
> 	https://github.com/danmcd/ob-lx-public/
> 
> The latter has only one small change in its manifests.  The former is where the big work is.  Feel free to clone/pull and toy around. At this time, I will consider PRs, but likely not issues unless they accompany a PR.  If you have LX-for-OmniOS suggestions or issues, please bring them up on the omnios-discuss mailing list.
> 
> I have webrevs of io-lx against illumos-omnios AND against illumos-joyent:
> 
> 	http://kebe.com/~danmcd/webrevs/io-lx-public/
> 
> 	http://kebe.com/~danmcd/webrevs/io-lx-public-vs-joyent/
> 
> And finally, I have an IPS server with bloody + LX on it.  You should retarget your "omnios" publisher on a bloody install to it if you want to try them out:
> 
> 	http://pkg.omniti.com/omnios/LX/

You can update your normal OmniOS to bloody, and then switch publishers.  If you already have switched publishers, you can/should do a "pkg update" now, modulo SunSSH removal (see below).

Biggest changes apart from merges with illumos-omnios (up to fe93252) and illumos-joyent (up to 0c8abfc) include:

- The lx_boot scripts now do NOT clobber "resolv.conf" unless it's configured in zonecfg(1M) Joyent-style.

- The "zoneadm -z <LX> install" script now can take a "-t <tarball>" argument in lieu of a "-s ZFS-send-stream" argument.  Both gzipped and full will work.  Thanks to Peter Tribble for providing some URLs with tarballs that work.  And I quote:

> Some projects make filesystem tarballs available. For example Ubuntu
> have their cloud images:
> 
> https://cloud-images.ubuntu.com/
> 
> Looking around for the root tarballs should give you something useful.
> (The cloud images are what are used to create the Ubuntu Docker images,
> so you get the unmodified version which might actually be more useful.)
> 
> Or some images here might be useful.
> 
> http://download.proxmox.com/images/system/
> 
> I've used the alpine image from there successfully.

The proxmox one provided me with a good Debian one. (SLIGHTLY off-rev from a joyent one, but the 3.4.0 kernel setting matched and made it work.)

- SunSSH is gone, which means you have to follow the advice I gave on this week's bloody update:  either eliminate SunSSH prior to upgrade OR include the --reject flags for your "pkg update".  NOTE:  I'm seeing some potential problems with ipkg/lipkg zones with stock bloody not getting their SunSSH eliminated with --reject, that will translate here as well.

- If I haven't mentioned it already, you MUST set the kernel version:

# zonecfg -z lx0
zonecfg:lx0> add attr
zonecfg:lx0> set name=kernel-version
zonecfg:lx0> set type=string
zonecfg:lx0> set type=4.3.0    (NOTE:  That level is good for Ubuntu 16 and CentOS 7)
zonecfg:lx0> end
zonecfg:lx0> exit
# 

The joyent image metadata is a good guide for what to set it for which distro.


UPCOMING:  We have a couple of things in the works right now:

* IP address configuration persistence.  The Joyent folks configure zones' networking via zonecfg(1M) properties.  Not every OmniOS admin is used to that, so we're going to persist /native/sbin/{ipadm,route} persistence.

* IP address configuration via zonecfg(1M).  Since the code is mostly there, and at least some internal OmniTI customers are very excited about the possibility of doing LX zones this way.  We will also be working on this.


Thanks!
Dan




More information about the OmniOS-discuss mailing list