summaryrefslogtreecommitdiff
path: root/cloudinit/sources/DataSourceOpenNebula.py
AgeCommit message (Collapse)Author
2014-01-16DataSourceOpenNebula:parse_shell_config skip 'SECONDS' var if seenScott 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-10some cleanups and changesScott 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-10Fix detection of ETHx_IP context variable, add test.Vlastimil Holer
2013-09-10Configurable OpenNebula::parseuser. Seed search dir+dev merge. ↵Vlastimil Holer
Eat shell parser error output. Few tests for tests for get_data.
2013-09-10Replace RE context.sh parser with Scott's rewrite of bash dumper. Upper case ↵Vlastimil Holer
context variable names.
2013-09-05PEP8 and Pylint fixes. Move context.sh "parser" into separateVlastimil Holer
function. Fix fetching user specified dsmode (from context). Rename context_sh->context. Reuse unittests.helpers.populate_dir.
2013-09-04Search for contextualization CDROM by LABEL=CONTEXTVlastimil Holer
2013-09-04Fix RE matching context variables. Test cleanups.Vlastimil Holer
2013-09-04Apply parse.diff by Javier Fontan <jfontan@opennebula.org>Vlastimil Holer
2013-04-02PEP8 fixes.Vlastimil Holer
2013-02-21Remove TODOVlastimil Holer
2013-02-20Minor OpenNebula DS cleanups (style, dsmode, static network).Vlastimil Holer
2013-02-19Context.sh parsing cleanups, fix single quotes handling in multiword variables.Vlastimil Holer
2013-02-19Name unification Context.*Device -> Context.*DiskVlastimil Holer
2013-02-19Change network ifaces detection from ifconfig to ip command.Vlastimil Holer
2013-01-04Append DNS related stuff to network interfaces configuration. Minor cleanups.Vlastimil Holer
2013-01-02Add OpenNebula.org copyright.Vlastimil Holer
2012-12-21Add OpenNebula contextualization options to cloud-initJavi Fontan
2012-12-20Fix exception handlers for data read. Fix name read_context_disk_dir.Vlastimil Holer
2012-12-20Change subp exception handling to util.ProcessExecutionErrorVlastimil Holer
2012-12-20Add explanation on how context variables parsing works.Vlastimil Holer
2012-12-20Change context variables .replace with .decodeVlastimil Holer
2012-10-03Delete hyphen.Vlastimil Holer
2012-10-03Delete old ConfigDrive's code.Vlastimil Holer
2012-09-24Process userdata, ignored by mistake.Vlastimil Holer
2012-09-20Configurable dsmode. Resolve IPv4 hostname only with dsmode=net.Vlastimil Holer
2012-09-19Use and resolve PUBLIC_IP from context disk if no HOSTNAME is specified.Vlastimil Holer
2012-09-12Initial support for OpenNebula's contextualization disk.Vlastimil Holer