diff options
author | Michael DeHaan <mdehaan@redhat.com> | 2006-10-13 16:09:31 -0400 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2006-10-13 16:09:31 -0400 |
commit | 47590f79742b9cb91f876ad4507208a875ea2880 (patch) | |
tree | 81b346bd0ae6bb48fb0b2108b68b1580be40a5e9 /cobbler/api.py | |
parent | cd9b923b946c45c5a732fa6e053a59c0f9fcb40e (diff) | |
download | third_party-cobbler-47590f79742b9cb91f876ad4507208a875ea2880.tar.gz third_party-cobbler-47590f79742b9cb91f876ad4507208a875ea2880.tar.xz third_party-cobbler-47590f79742b9cb91f876ad4507208a875ea2880.zip |
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.
Diffstat (limited to 'cobbler/api.py')
-rw-r--r-- | cobbler/api.py | 4 |
1 files changed, 2 insertions, 2 deletions
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): |