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

2012-10-15 Thread Serge Hallyn
Thanks, Dwight, works like a charm for me. I've pulled patches 1-4 into my github tree, and have asked Stephane to review for the official staging tree. -serge Quoting Dwight Engen (dwight.en...@oracle.com): > > Make the oracle template honor the lxc.network.type and > lxc.network.link configur

Re: [lxc-devel] [PATCH 5/5] Add distro config file /etc/lxc/lxc.conf

2012-10-15 Thread Serge Hallyn
Quoting Dwight Engen (dwight.en...@oracle.com): > On Mon, 15 Oct 2012 12:42:57 -0500 > Serge Hallyn wrote: > > > Quoting Dwight Engen (dwight.en...@oracle.com): > > > This allows a distro to put the distro specific default network > > > configuration (for example bridge device, link type), or oth

Re: [lxc-devel] [PATCH 5/5] Add distro config file /etc/lxc/lxc.conf

2012-10-15 Thread Dwight Engen
On Mon, 15 Oct 2012 12:42:57 -0500 Serge Hallyn wrote: > Quoting Dwight Engen (dwight.en...@oracle.com): > > This allows a distro to put the distro specific default network > > configuration (for example bridge device, link type), or other lxc > > configuration in the case that -f is not passed b

Re: [lxc-devel] [PATCH 5/5] Add distro config file /etc/lxc/lxc.conf

2012-10-15 Thread Serge Hallyn
Quoting Dwight Engen (dwight.en...@oracle.com): > This allows a distro to put the distro specific default network > configuration (for example bridge device, link type), or other lxc > configuration in the case that -f is not passed by the user to > lxc-create, in which case lxc-create will use the

[lxc-devel] [PATCH 5/5] Add distro config file /etc/lxc/lxc.conf

2012-10-15 Thread Dwight Engen
This allows a distro to put the distro specific default network configuration (for example bridge device, link type), or other lxc configuration in the case that -f is not passed by the user to lxc-create, in which case lxc-create will use the distro conf file as the basis for the containers config

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

2012-10-15 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 and the host system is Oracle or Fedora, the template assumes a type of veth and the default name created by libvi

[lxc-devel] [PATCH 0/5] Oracle template

2012-10-15 Thread Dwight Engen
On Thu, 11 Oct 2012 13:20:51 -0500 Serge Hallyn wrote: > Quoting Dwight Engen (dwight.en...@oracle.com): > > On Thu, 11 Oct 2012 13:04:27 -0500 > > Serge Hallyn wrote: > > > > > Quoting Dwight Engen (dwight.en...@oracle.com): > > > > On Thu, 11 Oct 2012 11:48:41 -0500 > > > > Serge Hallyn wrot

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

2012-10-15 Thread Dwight Engen
Signed-off-by: Dwight Engen --- templates/lxc-oracle.in | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/templates/lxc-oracle.in b/templates/lxc-oracle.in index 9a875af..84c3c33 100644 --- a/templates/lxc-oracle.in +++ b/templates/lxc-oracle.in @@ -94,7 +94,7 @

[lxc-devel] [PATCH 2/5] Always rebuild rpm database

2012-10-15 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/5] Better rpm database downgrade logic

2012-10-15 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