| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
translation function and run manual testing to ensure no functional errors in other
places (such as import).
cobbler_msg (strings file) has been removed.
|
|
|
|
|
|
|
|
| |
more efficient.
Make both the Config and BootAPI objects Borgs, to prevent duplicate
configuration records. Also do not implicitly serialize configuration
objects unless the with_copy parameter is used.
|
| |
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
kickstart files and assign them for distributions that we know how to minimally kickstart.
|
| |
|
|
|
|
|
|
| |
something like
/mnt/redhat (containing a lot of OS builds with trees) into distributions and profiles directly.
|
|
|
|
| |
options. Putting it back and making it a part of the system subcommands to make it more consistant (parsing is better too this way).
|
| |
|
|
|
|
|
| |
it. Some error handling is needed but it's functional. See NEWS
and manpage for documentation on enchant.
|
|
|
|
| |
- Fixed changelogs to include user/email
|
|
|
|
| |
already been modified to use failUnlessRaises.
|
|
|
|
| |
test where I changed a command line syntax.
|
|
|
|
|
|
| |
exception
cleanup.
|
|
|
|
| |
all the way up the stack. Still not quite super-consistant, but getting there. Util functions still return true/false since they just ask questions, but API functions will throw errors to ensure they are being dealt with. Main CLI class needs to take advantage of this fact and become simpler. Tests are already modified to detect new exceptions with one exception :)
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
| |
of parse errors on config files, tweaking unit tests tempfile stuff since sync() test is currently broken by the tempfile changes (why??)
|
|
|
|
| |
When transcribing the constructors, moved one bracket too far to the right.
|
|
|
|
| |
Just to define Collections after Items.
|
|
|
|
|
|
|
|
|
|
| |
We define a top-level constructor in the base class and define an
_item_factory that is the class to be instantiated for each item.
The code as it is checked in now is broken because we reference the class
before we define it in the global scope; but wanted the checkins to be
separate, the next one will move all the Collection-related stuff after the
Item-related stuff (but the diff would have been difficult to read)
|
| |
|
|
|
|
|
| |
need to do something about that). Added some tests. Modified test
code so it never clobbers a working install.
|
|
|