]> git.ipfire.org Git - thirdparty/lxc.git/commit
lxc-oracle: fix warnings/errors from some rpm scriptlets
authorDwight Engen <dwight.engen@oracle.com>
Thu, 1 May 2014 14:33:48 +0000 (10:33 -0400)
committerStéphane Graber <stgraber@ubuntu.com>
Thu, 1 May 2014 14:36:38 +0000 (10:36 -0400)
commit04c2f6f88c10e36b755857427a9be37d585bf470
tree142260a76fa5a3de212621d27643951b952d2889
parentc607b1944bf33a92ebccdc265b22f0733e90e478
lxc-oracle: fix warnings/errors from some rpm scriptlets

- Some scriptlets expect fstab to exist so create it before doing the
  yum install

- Set the rootfs selinux label same as the hosts or else the PREIN script
  from initscripts will fail when running groupadd utmp, which prevents
  creation of OL4.x containers on hosts > OL6.x.

- Move creation of devices into a separate function

Signed-off-by: Dwight Engen <dwight.engen@oracle.com>
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
templates/lxc-oracle.in