Moved these functions to utils.

This commit is contained in:
Joshua Harlow
2012-06-11 17:12:29 -07:00
parent 16e8f85be5
commit 802d9f5886

View File

@@ -19,17 +19,3 @@
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from cloudinit import util
from cloudinit.settings import (CFG_BUILTIN, CLOUD_CONFIG)
def get_base_cfg(cfg_path=None):
if not cfg_path:
cfg_path = CLOUD_CONFIG
return util.get_base_cfg(cfg_path, get_builtin_cfg())
def get_builtin_cfg():
return dict(CFG_BUILTIN)