summaryrefslogtreecommitdiffstats
path: root/cobbler/cobbler.py
Commit message (Collapse)AuthorAgeFilesLines
* Generalizes tree listing to allow for inheritance and arbitrary nestingMichael DeHaan2007-06-121-15/+14
|
* Add --createrepo-flags (in "cobbler repo add") to the manpage, also add "-cMichael DeHaan2007-06-071-1/+1
| | | | cache" as a default value.
* This is Perry Myers's patch to reposync to allow for caching options and toMichael DeHaan2007-06-071-1/+2
| | | | eliminate extra calls to createrepo.
* WIP: Allow system names to be anything, and gather mac address and IP fromMichael DeHaan2007-05-301-2/+5
| | | | | | either the inferred sytem name or the values given to --ip-address (--ip) or --mac-address (--mac). Change the action code to use this, and not create PXE entries when such info is not available.
* Begining of i18n of cobbler. Tests pass, works with English. Need to testMichael DeHaan2007-05-291-40/+60
| | | | | | | 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/+5
|
* Add support for dnsmasq as an alternative to ISC dhcpd.Michael DeHaan2007-05-241-1/+3
| | | | | Also add --hostname option to "cobbler system add" for dnsmasq DNS control features.
* Echo "list" features in report syntax.Michael DeHaan2007-04-271-9/+17
|
* Allow "list" to show specifics of a specific object when given as aMichael DeHaan2007-04-271-4/+23
| | | | parameter.
* Remove redundant self argsMichael DeHaan2007-04-201-4/+4
|
* This commit overhauls the main cobbler CLI module and adds support forMichael DeHaan2007-04-201-161/+294
| | | | | | | | | | | | object renaming, copying, and editing -- previously only addition and removal were supported. This frees uses (hopefully) from the need to hack YAML and risk damaging their configurations by rendering the config unparseable. It also makes "cobbler list" print out a simple tree representation that shows the association between objects. This also relaxes the requirements for what constitutes a kernel and initrd filename, just in case they are named something different. They still have to exist.
* This commit adds a --rpm-list parameter to "cobbler repo add". --rpm-listMichael DeHaan2007-04-101-1/+2
| | | | | | | | | | | | | | | | | allows for partial mirroring of RPM content from a yum repository using yumdownloader. An example of this would be wanting to have a local mirror of useful tools from FC6 Extras (cobbler and koan, possibly?) while not pulling down content that just takes up time/space (like 3D games). This will work for http:// and ftp:// repositories, but not RHN at this point. Incidentally this feature doesn't resolve dependencies at this point because yumdownloader is currently broken. See https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=232183 So, for now, give all dependencies for --rpm-list and when yumdownloader gets fixed, the "--resolve" argument can be reinserted and this will be a lot more useful.
* This is 0.4.5Michael DeHaan2007-03-231-4/+0
|
* Ongoing work for 0.4.4 -- misc tweaks/fixes, and continuation on the ↵Michael DeHaan2007-03-221-1/+8
| | | | | | | 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.
* Most of these diffs come from directory reorg/cleanup, though the main ↵Michael DeHaan2007-03-191-8/+2
| | | | 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.
* Converting storage for template parameters, kernel options, and repo lists ↵Michael DeHaan2007-02-141-0/+11
| | | | | | | (basically anything that's not really a string or a number) to a list or hash, as appropriate. This will allow the cobbler API to accept list/hash input as appropriate in addition to strings, allowing for more advanced use of the templating engine. This also extends more power to the user to add their own entries in /var/lib/cobbler files for ksmeta, as opposed to having to enter in --ksmeta options on the command line, which previously did not tolerate newlines. All of this is backwards compatible with the old format (both should load fine). Files will convert over to the new format once any add commands are run.
* Added an optional --breed parameter for "distro add" that supports usage of ↵Michael DeHaan2007-02-091-1/+3
| | | | a SuSE answer file (needs testing) and can make way for other distros. koan needs to detect when it's been given a non-redhat based distro and not do anything, though cobbler PXE should work in both cases.
* Work towards implementation of optional integrated "light" sync support, ↵Michael DeHaan2007-02-011-22/+14
| | | | | | which is enabled by default in /var/lib/cobbler/settings. Users of the API will need to use the with_copy=True and with_delete=True parameters to initiate this behavior. As mentioned in the previous commit, sync() still needs to be run at least once prior to any add commands using this feature.
* Don't show tracebacks for Ctrl+C.mdehaan@mdehaan.rdu.redhat.com2007-01-041-0/+3
|
* Add kickstart pre-signaling to indicate starts in addition to stops.mdehaan@mdehaan.rdu.redhat.com2007-01-031-4/+9
|
* Add scaffolding for status report function/module.mdehaan@mdehaan.rdu.redhat.com2007-01-031-0/+21
|
* Fix bug in locking mechanism.Michael DeHaan2006-12-221-1/+3
|
* Enable locking feature.Michael DeHaan2006-12-221-1/+1
|
* Be even more strict about --virt parameter processing on enchant to preventMichael DeHaan2006-12-221-5/+3
| | | | accidental re-provisioning of main OS.
* Manpage + CHANGELOGsMichael DeHaan2006-12-221-4/+4
| | | | | Also, since there is some change of someone miskeying --virt=yed or something, and getting a False value (which means reprovision the main OS), the default for --virt parameters is getting changed to assume --virt implies True when --virt is used. We really don't want a typo erasing an important server.
* Allow "cobbler enchant" commands to also remotely install Xen on systems in ↵Michael DeHaan2006-12-221-2/+10
| | | | | | | the same way the command already supported destructive re-provisioning. Syntax is "cobbler enchant --address=foo --profile=foo --virt=yes" or "--system=foo" can replace "--profile" if you want to set the Xen mac address and so forth.
* Always pass args to functions in main body.Michael DeHaan2006-12-211-4/+4
|
* "cobbler repo sync" is the same as "cobbler reposync"Michael DeHaan2006-12-211-1/+2
|
* Allow report to be invoked in subject verb form.Michael DeHaan2006-12-211-18/+38
|
* Cobbler report commands are now sorted also.Michael DeHaan2006-12-211-18/+22
|
* cobbler list now keeps results sorted.Michael DeHaan2006-12-211-0/+1
|
* Added a new abbreviated (list) command and longer (report) command.mdehaan@mdehaan.rdu.redhat.com2006-12-211-4/+40
| | | | List now invokable in subject-verb form also (cobbler system list, etc).
* Added "clobber" alias for enchant/transmogrify (alikins made me do it).Michael DeHaan2006-12-201-0/+1
|
* Rsync mirrors shouldn't use SSH.Michael DeHaan2006-12-201-1/+3
|
* Lots of needed doc updates on the repo management hooks.mdehaan@mdehaan.rdu.redhat.com2006-12-151-1/+0
| | | | | | Accidentally clobbered some of the /usr/bin/reposync using code in "cobbler reposync", so it's back to just rsync for now. Will keep it this way (because it's much simpler) unless there are a decent amount of requests.
* Adding createrepo calls to "cobbler reposync" ... working on auto-generating ↵Michael DeHaan2006-12-131-1/+2
| | | | | | yum configs and allowing them to be installable for mirrored repos.
* Preliminary support for repo mirroring.Michael DeHaan2006-12-121-4/+54
|
* Add support for default PXE boots via /etc/cobbler/default.pxe; wrapDavid Lutterkort2006-10-271-1/+1
| | | | | service reloads/restarts so they don't happen in dryrun mode; allow '-n' as an alias for '--dryrun' when syncing.
* Add support for restricting the listing to systems/profiles/distrosDavid Lutterkort2006-10-271-2/+16
|
* Merge 243:1f764e5dd1ccDavid Lutterkort2006-10-251-5/+6
|
* Merge latestDavid Lutterkort2006-10-231-6/+5
|\
| * Enable --pxe-address command line optionDavid Lutterkort2006-10-191-0/+1
| |
* | Change "Xen" to "virt" to make it more generic.mdehaan@mdehaan.rdu.redhat.com2006-10-251-6/+6
| |
* | Add "virt" aliases for commands.Michael DeHaan2006-10-251-2/+3
| |
* | bugfix: --pxe-address wasn't surfaced in the CLIMichael DeHaan2006-10-231-5/+6
|/
* Working on removing the dependancy on pexpectMichael DeHaan2006-10-171-29/+34
|
* Add --helpMichael DeHaan2006-10-171-0/+1
|
* Numerous fixes to import codeMichael DeHaan2006-10-161-2/+3
|
* Finally added a "usage" function to the CLI.Michael DeHaan2006-10-161-2/+3
| | | | Minor manpage cleanup.
* No commaMichael DeHaan2006-10-161-1/+1
|