Add config file path to 'bindmount' list
authorSun Lihong <lihongx.sun@intel.com>
Fri, 9 May 2014 00:57:22 +0000 (08:57 +0800)
committerSun Lihong <lihongx.sun@intel.com>
Fri, 9 May 2014 01:03:11 +0000 (09:03 +0800)
In bootstrap mode, if the config file specified by '-c' is not under
the current dir, its sub dirs or the ks dir, it cannot be found, mic
will uses the default '/etc/mic/mic.conf', add 'configmgr._siteconf'
to bind list to also mount conf dir in bootstrap.

Change-Id: I4477466289fdf7542b959c227935b542eaf36e77

mic/rt_util.py

index 3897efc..75e0342 100644 (file)
@@ -140,6 +140,7 @@ def get_bindmounts(cropts):
     bindfiles = [
                   cropts['logfile'],
                   configmgr._ksconf,
+                  configmgr._siteconf,
                 ]
 
     for lrepo in cropts['localrepos']: