Fixing imports using --available-as #145

merged 5 commits into from Apr 21, 2012


None yet
1 participant

jimi-c commented Apr 21, 2012

Created a white list file for rsync (/etc/cobbler/import_rsync_whitelist) which allows for fine-grained control over what gets pulled down, and a few minor fixes in the import modules.

Todo: Debian/Ubuntu are not well supported right now, and FreeBSD has no support currently. This should be able to be fixed pretty easily by updating the whitelist file to include things that are required for correct distro detection and setup.

This is probably not ready for 2.2.3, as it requires a lot more testing (which has currently been limited to seeing if the distro is imported mostly correctly).

jimi-c added some commits Apr 21, 2012

Fix for import when using --available-as
- currently rsyncs full remote tree, changing that to only import files in a white list
- some modifications to import modules to clean some things up and make available-as work better
- fix in for path_tail, which was not working right and appending the full path

Todo: Still a lot of things to cleanup to make this work flawlessly. Debian/Ubuntu are particularly problematic due to the way they store every supported version in their mirrors in a sub-tree beyond the pool/ directory we need to scan
Another minor fix for suse imports
- fixing up name when using --available-as (already done in other import modules)
- allowing multiple arch imports (also already done in other imports)

jimi-c added a commit that referenced this pull request Apr 21, 2012

Merge pull request #145 from jimi1283/issue_138
Fixing imports using --available-as

@jimi-c jimi-c merged commit 9befd7b into cobbler:master Apr 21, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment