| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
for old
school compatibility translation for list/report. All commands will then need
to be tested...
|
|
|
|
| |
defining new CLI commands.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
different server
address for when the server may need to provision boxen on different subnets that
therefore need different source URLs and so on.
This means cobbler will now be able to represent more than one server address for the same
cobbler machine. WUI parts and backend changes to utilize this TBA shortly.
|
|
|
|
| |
management.
|
|
|
|
| |
way we do serialization.
|
|
|
|
| |
is just as likely at this point.
|
| |
|
| |
|
| |
|
|
|
|
| |
the command line parser details for now. This can all be fixed should we move the command line parser to use optparse or equivalent in the future.
|
|
|
|
|
|
| |
use strings in the YAML
to pacify the XMLRPC bits. Plus, this is more readable.
|
| |
|
|
|
|
|
|
|
|
| |
multiple NIC support
is still required. Checking kickstarts and the koan modifications are also still to go. Code
in item_system.py is due for cleanup, especially in from_datastruct, where it tries to load
the older configurations implicitly.
|
|
|
|
|
|
|
| |
requires seperate accessors
and templating. This is all to allow multiple NICs in koan. Stil needs changes in sync
code and possibly other places.
|
| |
|
|
|
|
| |
to repo object to ensure items get serialized as booleans.
|
| |
|
| |
|
|
|
|
|
| |
the cobbler server has configured in yum and set them up to be mirrored
automagically.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
imports without
mirroring. This is explained in the manpage and online docs.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
some rough edges (like listing the tree).
cobbler profile add --name=profile2 --inherit=profile1 --otherparameters=...
cobbler profile edit --name=profile2 --stillmoreparamters=...
Data is interleaved for hashes, combined for arrays, and overriden for scalar
values. This was heavily inspired by Will-It-Blend, and in this implementation
it all blends.
Implementation notes -- Updating a parent profile doesn't apply changes
to the child objects until a sync, so this seems like a good upgrade
for a future commit. Also, the children mapping that makes this
possible needs some tweaks because they may load out of order,
in which case "cobbler list" can't render a full
tree. There are various approaches to deal with this and it should be
a (relatively) easy change.
|
| |
|
|
|
|
| |
cache" as a default value.
|
|
|
|
| |
eliminate extra calls to createrepo.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
translation function and run manual testing to ensure no functional errors in other
places (such as import).
cobbler_msg (strings file) has been removed.
|
| |
|
|
|
|
|
| |
Also add --hostname option to "cobbler system add" for dnsmasq DNS control
features.
|
| |
|
|
|
|
| |
parameter.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
(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.
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|