[lxc-devel] [lxc/lxc] e120d0: lxc-oracle: allow installing from arbitrary yum re...

GitHub noreply at github.com
Wed Apr 9 15:35:01 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: e120d0575bd760b4bcb1640cafd15a6d64490388
      https://github.com/lxc/lxc/commit/e120d0575bd760b4bcb1640cafd15a6d64490388
  Author: Dwight Engen <dwight.engen at oracle.com>
  Date:   2014-04-09 (Wed, 09 Apr 2014)

  Changed paths:
    M templates/lxc-oracle.in

  Log Message:
  -----------
  lxc-oracle: allow installing from arbitrary yum repo

With this change, you can install a container from a mounted .iso, or any
yum repo with the necessary packages. Unlike the --url option, the repo
does not need to be a mirror of public-yum, but the arch and release must
be specified. For example to install OL6.5 from an .iso image:

mount -o loop OracleLinux-R6-U5-Server-x86_64-dvd.iso /mnt
lxc-create -n OL6.5 -t oracle -- --baseurl=file:///mnt -a x86_64 -R 6.5

The template will create two yum .repo files within the container such that
additional packages can be installed from local media, or the container can
be updated from public-yum, whichever is available. Local media must be bind
mounted from the host onto the containers' /mnt for the former .repo to work:

mount --bind /mnt $LXCPATH/OL6.5/rootfs/mnt

Signed-off-by: Dwight Engen <dwight.engen at oracle.com>
Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>


  Commit: c937991e1f4669d6a0bca2290998408dddb8815f
      https://github.com/lxc/lxc/commit/c937991e1f4669d6a0bca2290998408dddb8815f
  Author: Dwight Engen <dwight.engen at oracle.com>
  Date:   2014-04-09 (Wed, 09 Apr 2014)

  Changed paths:
    M config/templates/oracle.common.conf.in
    M templates/lxc-oracle.in

  Log Message:
  -----------
  lxc-oracle: update to support OL7

Signed-off-by: Dwight Engen <dwight.engen at oracle.com>
Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>


Compare: https://github.com/lxc/lxc/compare/c2997f9e6bc4...c937991e1f46


More information about the lxc-devel mailing list