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/cobbler.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/cobbler.py')
-rwxr-xr-x | cobbler/cobbler.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/cobbler/cobbler.py b/cobbler/cobbler.py index e7a512c..d31924c 100755 --- a/cobbler/cobbler.py +++ b/cobbler/cobbler.py @@ -152,6 +152,9 @@ class BootCLI: """ self.temp_path = None self.temp_mirror = None + self.temp_mirror_name = None + def set_mirror_name(a): + self.temp_mirror_name = a def set_mirror(a): self.temp_mirror = a def set_path(a): @@ -160,7 +163,9 @@ class BootCLI: return True return False def go_import(): - return self.api.import_tree(self.temp_path,self.temp_mirror) + return self.api.import_tree(self.temp_path, + self.temp_mirror, + self.temp_mirror_name) commands = { '--path' : lambda(a): set_path(a), '--mirror' : lambda(a): set_mirror(a) |