Initial commit for adding support for other template languages, namely jinja2 in this case
Added the setting 'default_template_type' to the settings file, and
created logic to use that in Templar().render(). Also added an option
to the same function to pass the template type in as an argument.
Add a new setting to force CLI commands to use the localhost for xmlrpc

The default in cobbler is to use the server setting for xmlrpc
connections.  Since the server setting could be a remote host this can
cause commands to fail.  By applying this setting all commands will be
force to use the localhost address.
Merge branch 'new-template' into release22
BUGFIX - fix for following issue:
can't save networking options of a system in cobbler web interface. (#8)

Problem caused by using forms[0] in javascript instead of a named form. When implementing CSRF some other forms were added, causing a conflict.
BUGFIX - adding default_template_type to settings.py, caused some issues with templar when the setting was not specified in the /etc/cobbler/settings
Merge pull request #12 from chjohnst/release22

Add a new setting to force CLI commands to use the localhost for xmlrpc
Corrected typo in man page.
Moved list terminator to correct location.
Fix creation of repo mirror when importing iso.
Fixes the creation of a disabled repo mirror when importing ISO's
such as the mini.iso that does not contain any mirror/packages.
Additionally, really enables 'apt' as possible repository.

Signed-off-by: Chuck Short <chuck.short@canonical.com>
Signed-off-by: Andres Rodriguez <andreserl@ubuntu.com>
Fix reposync missing env variable for debmirror
 Fixes missing HOME env variable for debmirror by hardcoding the environment variable
 to /var/lib/cobbler

Signed-off-by: Chuck Short <chuck.short@canonical.com>
Signed-off-by: Andres Rodriguez <andreserl@ubuntu.com>
koan: Use grub2 for --replace-self instead of grubby
The koan option '--replace-self' uses grubby, which relies on grub1, to replace a
local installation by installing the new kernel/initrd into grub menu entries.
Ubuntu/Debian no longer uses it grub1. This patch adds the ability to use grub2
to add the kernel/initrd downloaded to a menuentry. On reboot, it will boot from
the install kernel reinstalling the system. Fixes (LP: #766229)

Signed-off-by: Chuck Short <chuck.short@canonical.com>
Signed-off-by: Andres Rodriguez <andreserl@ubuntu.com>
Add kernel postinst options.

Signed-off-by: Chuck Short <chuck.short@canonical.com>
koan: do not include ks_meta args when obtaining tree
When obtaining the tree for Ubuntu machines, ensure that ks_meta
args are not passed as part of the tree if they exist.

Signed-off-by: Chuck Short <chuck.short@canonical.com>
Signed-off-by: Andres Rodriguez <andreserl@ubuntu.com>
Changes PYTHON_EGG_CACHE to a safer path owned just by the webserver.

Signed-off-by: Clint Byrum <clint@ubuntu.com>
Signed-off-by: Chuck Short <chuck.short@canonical.com>
Add arm as a valid architecture.

Signed-off-by: Andreas Rodriguez <andreserl@ubuntu.com>
Signed-off-by: Chuck Short <chuck.short@canonical.com>
Remove cobbler4j, unsupported/unmaintained
Removing test dir, unit tests can live in apitests
Move apitests to tests
remove sync master script, "cobbler replicate" is available in the core, use that