summaryrefslogtreecommitdiffstats
path: root/cobbler/utils.py
Commit message (Collapse)AuthorAgeFilesLines
* Working on adding pxemenu support.Michael DeHaan2007-02-141-0/+1
|
* Converting storage for template parameters, kernel options, and repo lists ↵Michael DeHaan2007-02-141-0/+23
| | | | | | | (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.
* Work towards implementation of optional integrated "light" sync support, ↵Michael DeHaan2007-02-011-0/+4
| | | | | | 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.
* Remove subprocess referenceMichael DeHaan2006-10-111-2/+2
|
* Fix elilo conf file naming since apparently elilo does not support ↵Michael DeHaan2006-10-051-1/+5
| | | | bootloader profiles based on MAC addresses as does syslinux. This workaround uses the pxe-address field, thus requiring this field for IA64 until the issue can be resolved in elilo.
* Fix filename casing bugMichael DeHaan2006-09-251-1/+1
|
* Naming cleanup of a few variables now that we're dealing with moreMichael DeHaan2006-09-211-1/+1
| | | | than pxelinux.0 (likely elilo.efi)
* - Since /mnt/redhat images for Xen do not contain kernel and initrd version ↵Michael DeHaan2006-09-181-2/+2
| | | | and build numbers, ease the cobbler restriction that all images must contain version and build numbers.
* - Fixing bug that didn't allow lowercase MAC input, now upcasing itMichael DeHaan2006-09-131-2/+2
|
* Remove stray characters from gethostbyip, which interfere with PXE IP encoding.Michael DeHaan2006-05-111-1/+1
|
* Added licensing and RH copyright. Pychecker (once again). Fixed one unit ↵Michael DeHaan2006-05-111-0/+8
| | | | test where I changed a command line syntax.
* Interim checkin while straightening out exceptions. The last_error bit ↵Michael DeHaan2006-05-081-16/+0
| | | | | | | reminded me of the thing I hated most about Microsoft SDK/DDK programming (that being, last_error and inconsistant error handling), so it had to go.
* More pychecker. More comments.Michael DeHaan2006-05-081-6/+13
|
* PyChecker.Michael DeHaan2006-05-081-4/+5
|
* Unit tests pass again.Michael DeHaan2006-05-081-9/+13
|
* Interim commit during refactoring. Pretty broken as a result of some ↵Michael DeHaan2006-05-051-3/+5
| | | | cleanup but it will get straightened out very soon. The main thing I'm doing here is to remove backreferences from the object tree and make the API simpler, so that folks using the API screw up less. This means making the CLI code simpler as well. The serializer has also been overhauled so it's not as much bolted on, although I have some fixing to do to make it work entirely correctly. Wanted to check all of this in case someone decided to patch something else, making diffing really complex in the interim. I'd recommend not patching anything else to this code as I'm not close to done, really.
* Interim commitMichael DeHaan2006-05-051-0/+162