Re: [lxc-devel] [PATCH v3] Add Oracle Linux template

2012-10-09 Thread Serge Hallyn
Quoting Dwight Engen (dwight.en...@oracle.com): > On Mon, 8 Oct 2012 14:35:10 -0500 > Serge Hallyn wrote: ... > > Ubuntu by default creates a lxcbr0 bridge (NATed to the default nic). > > So /etc/lxc/lxc.conf is ubuntu-specific because how to set such a > > bridge up at boot is quite distro-specif

[lxc-devel] [PATCH 3/4] Always rebuild rpm database

2012-10-09 Thread Dwight Engen
Always rebuild the rpm database with the guest's rpm so there are no db version mismatches when you boot the guest and run rpm or yum. Signed-off-by: Dwight Engen --- templates/lxc-oracle.in |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/templates/lxc-oracle.in b/t

[lxc-devel] [PATCH 1/4] Honor network type and link from lxc-create -f

2012-10-09 Thread Dwight Engen
Make the oracle template honor the lxc.network.type and lxc.network.link configuration items if a "base" configuration file is passed to lxc-create. If no configuration file is passed, the template falls back to the default name created by libvirt. Signed-off-by: Dwight Engen --- templates/lxc-o

[lxc-devel] [PATCH 2/4] Better rpm database downgrade logic

2012-10-09 Thread Dwight Engen
Use the file command to see if the rpm database version needs to be downgraded. Use the lsb_release command to determine the host system, which is then used to set the commands needed to do the conversion, and lets us move the rpm database to the correct location if the host rpm doesn't put it wher

[lxc-devel] [PATCH 4/4] Fix removal of unneeded startup/shutdown scripts

2012-10-09 Thread Dwight Engen
Signed-off-by: Dwight Engen --- templates/lxc-oracle.in | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/templates/lxc-oracle.in b/templates/lxc-oracle.in index 314cd34..efd19ef 100644 --- a/templates/lxc-oracle.in +++ b/templates/lxc-oracle.in @@ -107,8 +107,8 @

Re: [lxc-devel] [PATCH v3] Add Oracle Linux template

2012-10-09 Thread Dwight Engen
On Mon, 8 Oct 2012 14:35:10 -0500 Serge Hallyn wrote: > Quoting Dwight Engen (dwight.en...@oracle.com): > > On Fri, 5 Oct 2012 16:52:27 -0500 > > Serge Hallyn wrote: > > > > > Quoting Dwight Engen (dwight.en...@oracle.com): > > > > > > > > This is a new template to create containers based on O