Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-01-27 | Respond to review: | Barry Warsaw | |
- Remove str() wrappers to second argument to write_files() where it is no longer necessary. Also: Fixed a couple of other octal literals which clearly weren't being tested. | |||
2015-01-26 | super() works in all of Python 2.6, 2.7, and 3.4. | Barry Warsaw | |
2015-01-26 | Repair the Python 2.6 tests. | Barry Warsaw | |
2015-01-26 | Trunk merged and ported. | Barry Warsaw | |
2015-01-26 | Port the MAAS code to oauthlib. | Barry Warsaw | |
2015-01-26 | Python 3 tests pass, except for skips. | Barry Warsaw | |
2015-01-26 | Down to it. | Barry Warsaw | |
2015-01-26 | Another handling of b64decode. | Barry Warsaw | |
Also, restore Python 2 compatibility. | |||
2015-01-26 | * More str/bytes fixes. | Barry Warsaw | |
* Temporarily skip the MAAS tests in py3 since they need to be ported to oauthlib. | |||
2015-01-26 | More Python 3 test fixes. | Barry Warsaw | |
2015-01-26 | Avoid a nose bug when running under the test suite and no exception is in | Barry Warsaw | |
flight. | |||
2015-01-26 | Fix a few string/bytes problems with Python 3. | Barry Warsaw | |
2015-01-26 | More test repairs. | Barry Warsaw | |
2015-01-23 | * Fix the filter() imports. | Barry Warsaw | |
* In Py3, pass universal_newlines to subprocess.Popen() | |||
2015-01-22 | Low hanging Python 3 fruit. | Barry Warsaw | |
2015-01-22 | Conversion from mocker to mock completed. | Barry Warsaw | |
2015-01-22 | More conversions from mocker to mock. | Barry Warsaw | |
2015-01-22 | More conversions from mocker to mock. | Barry Warsaw | |
2015-01-22 | More test ports from mocker to mock. | Barry Warsaw | |
2015-01-22 | Clean up. | Barry Warsaw | |
2015-01-22 | Convert helpers.py and test_data.py from mocker to mock. | Barry Warsaw | |
2015-01-22 | Use .addCleanup() instead of a .tearDown() where appropriate, although we | Barry Warsaw | |
might have to rewrite this for Python 2.6. Disable Cepko tests (test_cs_util.py) since they are essentially worthless. Convert test_azure to unittest.mock. | |||
2015-01-22 | remove dependency on dmidecode on linux | Scott Moser | |
on linux we can read dmi information from /sys rather than using dmidecode binary, and thus removing a dependency. | |||
2015-01-22 | merge from trunk | Scott Moser | |
2015-01-22 | Port test__init__.py to unittest.mock. | Barry Warsaw | |
2015-01-21 | Largely merge lp:~harlowja/cloud-init/py2-3 albeit manually because it seemed | Barry Warsaw | |
to be behind trunk. `tox -e py27` passes full test suite. Now to work on replacing mocker. | |||
2015-01-21 | Use either syspath or dmidecode based on the availability. | Ben Howard | |
2015-01-21 | More octal literal fixes. | Barry Warsaw | |
2015-01-21 | Fix file modes to be Python 2/3 compatible. | Barry Warsaw | |
2015-01-21 | Only install cheetah (and only run the cheetah templating test) when in Python | Barry Warsaw | |
2. Cheetah is not compatible with Python 3. | |||
2015-01-21 | * Added a simple tox.ini file | Barry Warsaw | |
* Use universal_newlines in setup.py so it will work properly in Python 3. * Fix a pyflakes complaint in setup.py * Add a simple MANIFEST.in | |||
2015-01-16 | hostname: apply hostname same as is written | Scott Moser | |
on RHEL, we were writing to persistent configuration the fqdn, but invoking 'hostname' on the first boot with just the shortname. On 'reboot', then the hostname would differ. Now, whatever we write, invoke hostname with. Also remove some duplicate code. LP: #1246485 | |||
2015-01-16 | pep8 fixes | Scott Moser | |
2015-01-16 | systemd: run cloud-init before systemd-user-sessions.service | Steve Langasek | |
This fixes a race condition that can cause cloud-init output to be spit out over the login prompt on the console when booting under systemd. | |||
2015-01-16 | Use systemd-user-sessions.service for sequencing, not getty.target, for ↵ | Steve Langasek | |
correct race-free ordering | |||
2015-01-15 | Ensure that when running under systemd, cloud-init.service is run before we | Steve Langasek | |
display any getty on the console so that the cloud-init output doesn't get written on top of a login prompt. | |||
2015-01-15 | Use the GCE short hostname. | Scott Moser | |
Google Compute Engine fqdn hostnames are usually longer than 64 characters. This causes issues with many tools (often Java based). Note that per gethostname(2): POSIX.1-2001 guarantees that "Host names (not including the terminating null byte) are limed to HOST_NAME_MAX bytes". On Linux, HOST_NAME_MAX is defined with the value 64. LP: #1383794 | |||
2015-01-14 | Drop reliance on dmidecode executable. | Ben Howard | |
2015-01-14 | Use the short name for GCE hostnames per GCE's request (LP: #1383794). | Ben Howard | |
2015-01-06 | Enable user-data encoding support for GCE. | Scott Moser | |
Enable user-data encoding support for GCE. Extended and updated tests to support checking the user-data encoding. User can now pass in user-data encoded in base64 and indicate they've done so by adding a tag 'user-data-encoding' with value 'base64'. LP: #1404311 | |||
2015-01-06 | remove the user-data-encoding from test meta-data | Scott Moser | |
just so we don't come to rely on it being set to 'base64' or ''. rather the default case is that it wont be present at all. | |||
2015-01-06 | merge from trunk | Scott Moser | |
2015-01-06 | tools/run-pep8: remove leading ',' fed to --ignore | Scott Moser | |
--ignore was being called with ',E121,E...' rather than 'E121,E...'. that resulted in odd behavior, missing the pep8 errors that are fixed here. | |||
2015-01-06 | pep8 | Scott Moser | |
2015-01-06 | Corrected errant logging message. | Wayne Witzel III | |
2014-12-19 | add user-data encoding support for gce | Wayne Witzel III | |
2014-12-09 | tools/ccfg-merge-debug: fix for updated user-data/vendor-data | Scott Moser | |
this was broken previously when user-data and vender-data were brought together. | |||
2014-12-01 | Cleanups for netinfo.py | Joshua Harlow | |
- Handle ipv6 route information not existing gracefully (for systems that don't have it) - Fix the getgateway function (broken due to ipv4/ipv6 keys now existing in route info) - Separate the centering of the route info ipv4 information from the centering of the ipv6 information so that this looks prettier... - Use try: except: else instead of settings value to None and then later checking for None (more pythonic this way) | |||
2014-11-30 | Fix some whitespace issues | Joshua Harlow | |
2014-11-30 | Fix the ipv6 header centering | Joshua Harlow | |