lorax/tests/pylorax
Brian C. Lane 10e46c9178 lorax-composer: Add timezone support to blueprint
For example:

[customizations.timezone]
timezone = "US/Samoa"
ntpservers = ["0.pool.ntp.org"]

Also includes tests.

This removes the timezone kickstart command from all of the templates
except for google.ks which needs to set it's own ntp servers and timezone.

If timezone isn't included in the blueprint, and it is not already in a
template, it will be set to 'timezone UTC' by default.

If timezone is set in a template it is left as-is, under the assumption
that the image type requires it to boot correctly.

(cherry picked from commit 9bdbb29662)

Related: rhbz#1709595
2019-05-29 15:14:58 -07:00
..
blueprints tests: Make it easier to update version globs 2019-04-05 11:05:58 -07:00
repos Only use repos with valid urls for test_server.py 2019-04-05 11:05:58 -07:00
results Support loading groups from the kickstart template files. 2018-07-19 11:00:46 -07:00
source Fix DNF related issues with source selection 2018-06-04 15:47:38 -07:00
__init__.py Add tests to test_creator.py 2019-03-21 14:48:27 -07:00
test_bisect.py lorax-composer: Handle packages with multiple builds 2018-12-07 11:54:02 -08:00
test_buildstamp.py tests: Skip docs if not installed 2019-04-05 11:05:58 -07:00
test_compose.py lorax-composer: Add timezone support to blueprint 2019-05-29 15:14:58 -07:00
test_creator.py Add an option to align the image size to a multiplier. 2019-04-05 11:30:19 -04:00
test_crossdomain.py Use 2to3 to convert the python2 lorax-composer code to python3 2018-05-17 10:34:34 -07:00
test_dnfbase.py Revert "lorax-composer: Check for CDN only repos" 2019-05-13 12:03:39 -07:00
test_projects.py tests: Make sure example-development is present for delete test 2019-04-05 11:05:58 -07:00
test_queue.py lorax-composer: Check the queue and results at startup 2018-12-06 15:27:48 -08:00
test_recipes.py lorax-composer: Add timezone support to blueprint 2019-05-29 15:14:58 -07:00
test_server.py Only use repos with valid urls for test_server.py 2019-04-05 11:05:58 -07:00
test_timestamp.py Add a test for the pylorax.api.timestamp functions 2018-08-07 12:12:17 -07:00
test_workspace.py Fix tests related to blueprint name changes 2018-08-22 10:22:36 -07:00