| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
accidental re-provisioning of main OS.
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
List now invokable in subject-verb form also (cobbler system list, etc).
|
| |
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
yum configs
and allowing them to be installable for mirrored repos.
|
| |
|
|
|
|
|
| |
service reloads/restarts so they don't happen in dryrun mode; allow '-n' as
an alias for '--dryrun' when syncing.
|
| |
|
| |
|
|\ |
|
| | |
|
| | |
|
| | |
|
|/ |
|
| |
|
| |
|
| |
|
|
|
|
| |
Minor manpage cleanup.
|
| |
|