lp://staging/~javier.collado/utah/readable-preseed
- Get this branch:
- bzr branch lp://staging/~javier.collado/utah/readable-preseed
Branch merges
- Javier Collado (community): Approve
-
Diff: 345 lines (+113/-96)11 files modifieddebian/utah.install (+1/-0)
templates/50-utahdefault.conf.jinja2 (+13/-0)
templates/casper-preseed-script.jinja2 (+4/-0)
templates/check-locks-command.jinja2 (+9/-0)
templates/install-deb-command.jinja2 (+2/-0)
templates/preseed-install-commands.jinja2 (+5/-0)
templates/preseed-postinstall-commands.jinja2 (+4/-0)
templates/preseed-success-command.jinja2 (+8/-0)
templates/utah-latecommand.jinja2 (+18/-0)
utah/config.py (+2/-0)
utah/provisioning/provisioning.py (+47/-96)
Branch information
Recent revisions
- 830. By Javier Collado
-
Added templates directory to the package
The templates will installed to /usr/share/
utah/templates. There's a new
configuration variable that can be use to customize the templates location, but
it expected to be used just for development.Besides this, a template file that was missing has been added.
- 829. By Javier Collado
-
Replaced PackageLoader with FileSystemLoader
PackageLoader worked fine, but an error message was printed about the utah
package being already imported. - 828. By Javier Collado
-
Refactored ssh install commands to use the template for the check locks command
- 827. By Javier Collado
-
Refactored modifications to ORDER
I'm in favor of using python code for almost everything, but in this case I
think sed it's more convenient. - 823. By Javier Collado
-
Refactored success_command code to use templates.
The idea about using templates is that quoting is easier to follow (inside the
code some more escaping is needed) and it's easier to reason about indentation
to make preseed readable. - 822. By Javier Collado
-
Moved rsyslog configuration to a template file.
A template isn't really needed since there isn't any variable to substitute.
However, it could be useful in the future and it makes sense to have this in
the templates directory.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp://staging/utah