]> git.ipfire.org Git - thirdparty/lxc.git/commit
lxc-oracle: fix warnings/errors from some rpm scriptlets
authorDwight Engen <dwight.engen@oracle.com>
Tue, 29 Apr 2014 21:50:38 +0000 (17:50 -0400)
committerSerge Hallyn <serge.hallyn@ubuntu.com>
Wed, 30 Apr 2014 15:39:09 +0000 (10:39 -0500)
commit9e607c2f35926993719addd22be0d718e007cfa2
tree556c43eff2282433b4645d738d261e5c0682f2c4
parent773bd28258371ad0058ff946c5cf94419920ffdd
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