Ensure MIC works well when "/etc/mic/mic.conf" does not exist
authorSun Lihong <lihongx.sun@intel.com>
Tue, 3 Sep 2013 08:56:02 +0000 (16:56 +0800)
committerGerrit Code Review <gerrit2@otctools.jf.intel.com>
Fri, 6 Sep 2013 06:23:55 +0000 (23:23 -0700)
commit92722a5c17fd013bdffb4ea991437a7e37170a4d
tree82cb1605a4f3026a0bb23be9d28c6585a3ff3426
parent9650f12fca8df55df09cd18b5bbf868cfe0ffa85
Ensure MIC works well when "/etc/mic/mic.conf" does not exist

when "/etc/mic/mic.conf" does not exist, ensure MIC works in
native mode, and when requring bootstrap mode, MIC switches to
native mode to work,because bootstrap mode needs the existence
of "/etc/mic/mic.conf".

Fixes: #1196

Change-Id: Idf16cbb4da7748665f466eb3f2045a853821915e
mic/conf.py
mic/imager/baseimager.py