Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-01-27 | Respond to review: | Barry Warsaw | |
- Refactor both the base64 encoding and decoding into utility functions. Also: - Mechanically fix some other broken untested code. | |||
2015-01-27 | Respond to review: | Barry Warsaw | |
- Just use util.load_file() instead of yet another way to open and read the file. | |||
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-22 | Low hanging Python 3 fruit. | Barry Warsaw | |
2014-08-26 | further remove evidence of pylint. | Scott Moser | |
This just removes comments '# pylint:' things and other code remnents of pylint. | |||
2014-03-27 | change 'default' encoding to be "None" | Scott Moser | |
Instead of just trying to see if userdata decodes as the indication that it should be encoded, the user must explicitly set this. The "just try it" will fail in the case where the user had other use of user-data and wanted a blob of data to go through unrecognized by cloud-init. In cases where there can be mistake in automatic behavior, and some users may be relaying on old behavior, its best to just require explicit use. | |||
2014-03-25 | Added base64 decoding of user data for OpenNebula. | Enol Fernandez | |
2014-01-16 | DataSourceOpenNebula:parse_shell_config skip 'SECONDS' var if seen | Scott Moser | |
SECONDS is a special variable in bash, it gets set to the time the shell has been alive. This would cause us to fail randomly (if the process happened to take more than 1 second, then SECONDS would be defined). | |||
2013-09-10 | some cleanups and changes | Scott Moser | |
* use util.subp from inside parse_shell_config, and adjust exception handling accordingly. * add 'switch_user_cmd' as a callback function to pass to parse_shell_config, which allows us to mock this to avoid 'sudo' when running test cases. Basically the test cases just return '[]' here. * fix some pylint * handle empty 'content' in parse_shell_config and remove the protection that was present. | |||
2013-09-10 | Fix detection of ETHx_IP context variable, add test. | Vlastimil Holer | |
2013-09-10 | Configurable OpenNebula::parseuser. Seed search dir+dev merge. ↵ | Vlastimil Holer | |
Eat shell parser error output. Few tests for tests for get_data. | |||
2013-09-10 | Replace RE context.sh parser with Scott's rewrite of bash dumper. Upper case ↵ | Vlastimil Holer | |
context variable names. | |||
2013-09-05 | PEP8 and Pylint fixes. Move context.sh "parser" into separate | Vlastimil Holer | |
function. Fix fetching user specified dsmode (from context). Rename context_sh->context. Reuse unittests.helpers.populate_dir. | |||
2013-09-04 | Search for contextualization CDROM by LABEL=CONTEXT | Vlastimil Holer | |
2013-09-04 | Fix RE matching context variables. Test cleanups. | Vlastimil Holer | |
2013-09-04 | Apply parse.diff by Javier Fontan <jfontan@opennebula.org> | Vlastimil Holer | |
2013-04-02 | PEP8 fixes. | Vlastimil Holer | |
2013-02-21 | Remove TODO | Vlastimil Holer | |
2013-02-20 | Minor OpenNebula DS cleanups (style, dsmode, static network). | Vlastimil Holer | |
2013-02-19 | Context.sh parsing cleanups, fix single quotes handling in multiword variables. | Vlastimil Holer | |
2013-02-19 | Name unification Context.*Device -> Context.*Disk | Vlastimil Holer | |
2013-02-19 | Change network ifaces detection from ifconfig to ip command. | Vlastimil Holer | |
2013-01-04 | Append DNS related stuff to network interfaces configuration. Minor cleanups. | Vlastimil Holer | |
2013-01-02 | Add OpenNebula.org copyright. | Vlastimil Holer | |
2012-12-21 | Add OpenNebula contextualization options to cloud-init | Javi Fontan | |
2012-12-20 | Fix exception handlers for data read. Fix name read_context_disk_dir. | Vlastimil Holer | |
2012-12-20 | Change subp exception handling to util.ProcessExecutionError | Vlastimil Holer | |
2012-12-20 | Add explanation on how context variables parsing works. | Vlastimil Holer | |
2012-12-20 | Change context variables .replace with .decode | Vlastimil Holer | |
2012-10-03 | Delete hyphen. | Vlastimil Holer | |
2012-10-03 | Delete old ConfigDrive's code. | Vlastimil Holer | |
2012-09-24 | Process userdata, ignored by mistake. | Vlastimil Holer | |
2012-09-20 | Configurable dsmode. Resolve IPv4 hostname only with dsmode=net. | Vlastimil Holer | |
2012-09-19 | Use and resolve PUBLIC_IP from context disk if no HOSTNAME is specified. | Vlastimil Holer | |
2012-09-12 | Initial support for OpenNebula's contextualization disk. | Vlastimil Holer | |