From 47590f79742b9cb91f876ad4507208a875ea2880 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Fri, 13 Oct 2006 16:09:31 -0400 Subject: Lots of work on importing rsync mirrors, including preliminary code to guess kickstart files and assign them for distributions that we know how to minimally kickstart. --- cobbler/api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cobbler/api.py') diff --git a/cobbler/api.py b/cobbler/api.py index 18ed9e0..fae5d64 100644 --- a/cobbler/api.py +++ b/cobbler/api.py @@ -116,13 +116,13 @@ class BootAPI: enchant = action_enchant.Enchant(self._config,sysname,password) return enchant.run() - def import_tree(self,tree_path,mirror_url): + def import_tree(self,tree_path,mirror_url,mirror_name): """ Automatically import a directory tree full of distribution files. Imports either a tree (path) or mirror (ftp/http). Mirror support really doesn't exist yet... TBA. """ - importer = action_import.Importer(self._config, tree_path, mirror_url) + importer = action_import.Importer(self._config, tree_path, mirror_url, mirror_name) return importer.run() def serialize(self): -- cgit