summaryrefslogtreecommitdiffstats
path: root/cobbler/action_import.py
Commit message (Collapse)AuthorAgeFilesLines
* Allow "cobbler import" to deal with the new F8 tree renames. (Grr...)Michael DeHaan2007-08-301-1/+1
|
* Fix auto-repo attachment for RHEL5Michael DeHaan2007-08-291-10/+5
|
* Allow for usage of Cheetah template variables (sans Cheetah) in configMichael DeHaan2007-08-281-4/+4
| | | | files by replacing $variable with @@variable@@.
* Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/cobblerMichael DeHaan2007-08-161-3/+3
|\
| * Ben Riggs patch to allow find to take arbitrary variables plus a reworkingMichael DeHaan2007-08-151-3/+3
| | | | | | | | | | | | of find (mpd) to add some error checking, list returns, and other semi-useful stuff. Plus tests and an optomization to allow name=foo as the only parameter to be just as fast as before.
* | (A) using http:// or ftp:// for cobbler imports is an error, and (B) allow ↵Michael DeHaan2007-08-161-5/+19
|/ | | | imports across symlinks
* Yell louder if directory is not present and using --available-as (if not, ↵Michael DeHaan2007-08-071-0/+3
| | | | rsync will already error out)
* Ensure paths are always joined by slashes.Michael DeHaan2007-08-061-1/+4
|
* Added feature where a network install location can be given to do cobbler ↵Michael DeHaan2007-08-011-39/+111
| | | | | | imports without mirroring. This is explained in the manpage and online docs.
* Added a SNIPPET::foo feature which can do the equivalent of %include in ↵Michael DeHaan2007-07-271-1/+1
| | | | | | | | | kickstart without the need for a wget and http hosting. Snippets live in /var/lib/cobbler/snippets -- Cobbler ships with only one snippet now (as a demo), though users can create as many as they want.
* random FIXME cleanupMichael DeHaan2007-06-121-4/+2
|
* This is Perry Myers's patch to reposync to allow for caching options and toMichael DeHaan2007-06-071-1/+1
| | | | eliminate extra calls to createrepo.
* Begining of i18n of cobbler. Tests pass, works with English. Need to testMichael DeHaan2007-05-291-38/+33
| | | | | | | translation function and run manual testing to ensure no functional errors in other places (such as import). cobbler_msg (strings file) has been removed.
* Starting to add i18n to cobbler using rhplMichael DeHaan2007-05-251-0/+1
|
* Add support for dnsmasq as an alternative to ISC dhcpd.Michael DeHaan2007-05-241-1/+1
| | | | | Also add --hostname option to "cobbler system add" for dnsmasq DNS control features.
* If import name has underscores, prevent duplicate arch info just the same.Michael DeHaan2007-04-271-0/+3
| | | | (This should probably be replaced with a regex eventually).
* Make "cobbler import" more accomodating of older distros (once again)Michael DeHaan2007-04-261-8/+27
| | | | | and also deal with createrepo possibly not having support for --basedir, which is true in newer createrepos.
* Make "cobbler import" work for Centos 5, also remove unneccessary loop fromMichael DeHaan2007-04-201-21/+19
| | | | import code.
* Turning off core-repo mirror feature by default, as most enterpriseMichael DeHaan2007-04-161-1/+1
| | | | | | | | deployments may not want this behavior, and it is not ideal with RHN setups. Changed manpage docs appropriately. Also fixing bug where source_repo detection went up one directory to high...
* More generalized fix to aborted-createrepo ".olddata" problems, which nowMichael DeHaan2007-04-131-9/+2
| | | | applies to "cobbler reposync" as well as "cobbler import".
* Teaching cobbler to remove .olddata files from previous createrepo runsMichael DeHaan2007-04-121-5/+72
| | | | | so createrepo can be run repeatedly. This has been applied to ks_mirror (import) content but also needs to be done soon for cobbler_reposync.
* (no commit message)Michael DeHaan2007-04-041-2/+3
|
* More better (TM) repo parameterization in kickstarts.Michael DeHaan2007-04-041-1/+4
|
* Add preliminary support for RHEL5 tree management. This is ratherMichael DeHaan2007-04-031-47/+119
| | | | | | | | | | | | complicated and introduces a new variable source_repos on each 'distro' object and also has some implications for how sync completes. Basically RHEL5 has multiple comps files so createrepo must be run more than once. The main point of this support is to install and configure the "core" mirror for distros, where previously only extras/updates were dealt with. The core repo is derived from the kickstart tree (cobbler import) rather than the "cobbler repo add" commands (manual add).
* Improvements/fixes to the "DVD import" code so that they know more aboutMichael DeHaan2007-04-021-5/+35
| | | | how to deal with RHEL and in-between builds of Fedora.
* This is release 0.4.4. I mean it this time :)Michael DeHaan2007-03-231-1/+4
|
* Ongoing work for 0.4.4 -- misc tweaks/fixes, and continuation on the ↵Michael DeHaan2007-03-221-0/+1
| | | | | | | kernel-parameters-get-shorter effort as well as templating and import features. Plus some random things, like case insensitive paths and some additional argument checking.
* Ongoing work on a better DVD import...Michael DeHaan2007-03-201-118/+154
|
* Most of these diffs come from directory reorg/cleanup, though the main ↵Michael DeHaan2007-03-191-98/+80
| | | | feature here is the start of a better --import command that creates significantly shorter paths and can work more reliably on mounted DVD images (losetup or otherwise). Detection of kickstarts based on paths needs to be augmented by additional means for this to really work. However, changes going in here (and still more to come) result in cleaner names for imported profiles, and substantially shorter kernel option command lines, which is needed to keep under the 255 limit. There is also some work here going in to template out all of the files for PXE, reducing the amount of code in action_sync and also making PXE setups much more customizable (menu choices, titles, random parameters, ipappend 2, etc) without patching the source. "tree" on import is also attached now to the distro, not the profile. So, whew, that's a lot.
* Fixes to import tree URL's and repo parameter splitting, thanks to ↵Michael DeHaan2007-03-021-1/+1
| | | | et-mgmt-tools list folks for pointing these out.
* Bundling Cheetah for backwards compatibility, and associated changes to ↵Michael DeHaan2007-02-191-1/+1
| | | | specfiles/etc.
* A few thingsMichael DeHaan2007-02-161-0/+1
| | | | | | - manpage clarification/correction (including a parameter typo in "cobbler repo add") - don't write the etc/yum.repos.d file if no --local-filename - print out createrepo command for debug purposes (during cobbler import)
* Fix bug in import pathsMichael DeHaan2006-12-181-1/+1
|
* Add some rudimentary ability for "cobbler import" to get kickstart trees ↵Michael DeHaan2006-12-141-17/+26
| | | | | | | | from http. This uses wget right now, and is rather lame. Wget gets confused and can easily end up mirroring all of the mirror, and with --no-parent on, usually mirrors hardly anything. Repo mirroring, should we also support http, will not do it this way.
* Fix update script, though replacing the update script with reposync (and ↵Michael DeHaan2006-12-131-2/+4
| | | | | | generalized code) seems to be the best route.
* Several changes related to cobbler import.mdehaan@mdehaan.rdu.redhat.com2006-12-131-10/+31
| | | | | | | | First, fixed an import bug in orphan detection. Other features are related to running createrepo after a partial rsync to create nicer repos, and shipping a more strict rsync.excludes file by default. Note that the createrepo change still needs to be applied to the "cobbler reposync" command, which works outside of import.
* Preliminary support for repo mirroring.Michael DeHaan2006-12-121-4/+4
|
* Prune rsync mirrors when importing.mdehaan@mdehaan.rdu.redhat.com2006-12-051-1/+1
|
* Cobbler import should skip ISO's (they are not useful in a kickstart tree) andMichael DeHaan2006-12-041-1/+1
| | | | PPC code (not supported, for now anyway) to save space.
* Merge 243:1f764e5dd1ccDavid Lutterkort2006-10-251-7/+8
|
* bugfix to revert a previous change -- paths DO need to have "/"'s in them, ↵Michael DeHaan2006-10-181-5/+4
| | | | because slashes cause obvious problems.
* Trailing whitespace.Michael DeHaan2006-10-181-1/+1
|
* Added some directory pruning to the "import --path" command. import is nowMichael DeHaan2006-10-181-22/+39
| | | | roughly 3x faster over NFS.
* Serialize changes during imports, since NFS traversal is very slow.Michael DeHaan2006-10-181-4/+4
|
* Fixed output messageMichael DeHaan2006-10-171-2/+0
|
* Clarify one warning message and one comment about depsMichael DeHaan2006-10-171-2/+2
|
* Output simplification for humansMichael DeHaan2006-10-161-3/+2
|
* More fixes related to rsync:// importMichael DeHaan2006-10-161-3/+4
|
* Numerous fixes to import codeMichael DeHaan2006-10-161-5/+9
|
* Preparation for 2.5.1Michael DeHaan2006-10-161-2/+2
|