summaryrefslogtreecommitdiff
path: root/cloudinit
AgeCommit message (Collapse)Author
2015-05-14This patch adds a cloud-init plugin for helping users registerBrent Baude
and subscribe their RHEL based systems. As inputs, it can take: - user and password OR activation key and org | requires on of the two pair - auto-attach: True or False | optional - service-level: <string> | optional - add-pool [list, of, pool, ids] | optional - enable-repos [list, of, yum, repos, to, enable] | optional - disable-repos [list, of, yum, repos, to, disable] | optional You can also pass the following to influence your registration via rhsm.conf: - rhsm-baseurl | optional - server-hostname | optional
2015-05-01Update is_disk_used for changed enumerate_disk output.Scott Moser
LP: #1311463
2015-05-01fix 'Make pyflakes'Scott Moser
2015-05-01Azure: if user has set hostname, do not overwrite itScott Moser
Due to the way the azure boot works, where we identify the hostname to the fabric, we were inadvertently overwriting hostname that the user had set. LP: #1375252
2015-04-21Fix +tests for GCE datasource not handling per-instance SSH keysJoshua Harlow
2015-04-21Don't overwrite the hostname if the user has changed it after we set itJoshua Harlow
2015-04-21Add functionality to fixate the uid of a newly added user.Joshua Harlow
2015-04-20GCE instance-level SSH keys override project-level keys. (LP: #1403617)Daniel Watkins
2015-04-20Support multiple metadata paths for metadata keys in GCE data source.Daniel Watkins
2015-04-20Rename found variable in GCE data source.Daniel Watkins
2015-04-20Refactor GCE metadata fetching to use a helper class.Daniel Watkins
2015-04-16fix cloud-config-archive handlingScott Moser
handling of cloud-config-archive input would fail in fully_decoded_payload. part.get_charset() would return a Charset object, but get_charset.input_codec is a string suitable for passing to decode. This handles that correctly, and is more careful about binary data inside input. The test added verifies that cloud-config inside a cloud-config-archive is handled correctly and also that binary data there is ignored without exceptions raised. LP: #1445143
2015-04-16pep8 fixesScott Moser
2015-04-15Don't overwrite the hostname if the user has changed it after we set itbrak
2015-04-15Reset host name after bounce has allowed walinuxagent to run successfully.Daniel Watkins
2015-04-15Add unit tests for Azure hostname bouncing.Daniel Watkins
Including minor refactoring to make mocking considerably easier.
2015-04-14Add functionality to fixate the uid of a newly added user.Gerhard Muntingh
2015-03-31adjust cc_snappy for snappy install package with config.Scott Moser
It was believed that to install a package with config the command was: snappy install --config=config-file <package> Instead, what was implemented in snappy was: snappy install <package> [<config-file>] This modifies cloud-init to invoke the latter and changes the tests appropriately. LP: #1438836
2015-03-27allow-unauthenticated when done from local fileScott Moser
2015-03-27do not use setScott Moser
2015-03-27be more user-friendly when looking for matching .configScott Moser
On fspath installs, look for .config files harder. Given a file named: pkg.namespace_0.version_arch.snap We'll search for config files named: pkg.namespace_0.version_arch.config pkg.namespace.config pkg.config
2015-03-27merge from trunkScott Moser
2015-03-27NoCloud: the local portion of NoCloud incorrectly claimed datasourcesScott Moser
The intent has always been for the local datasource (NoCloud) to require the provider of metadata to provide 'dsmode=local'. If that wasn't found, then the default 'dsmode' would be 'net', and the NoCloudNet datasource would then find the data. The bug here was that the default 'net' wasn't being set when data was found on a local source.
2015-03-27fix read_installScott Moser
2015-03-27address namespacingScott Moser
2015-03-27set snappy command earlierScott Moser
2015-03-27change 'configs' to 'config', and namespace input to 'snappy config'Scott Moser
the input to 'snappy config <packagename>' is expected to have config: <packagename>: content: So here we pad that input correctly. Note, that a .config file on disk is not modified. Also, we change 'configs' to just be 'config', to be possibly compatible with the a future 'snappy config /' that dumped: config: pkg1: data1 pkg2: data2
2015-03-26fix scope so that SNAPPY_CMD is affected by set_snappy_commandScott Moser
2015-03-26mention ubuntu-coreScott Moser
2015-03-26improve doc, change 'click_packages' path to be 'snaps'Scott Moser
2015-03-26rad_pkg_data: return data, fix undefined variableScott Moser
2015-03-26encode needed for yaml_dumpsScott Moser
2015-03-26prefer snappy-go to snappyScott Moser
2015-03-26add tests for data typesScott Moser
2015-03-26pep8Scott Moser
2015-03-26pep8, and some more testsScott Moser
2015-03-26start of snap_op testsScott Moser
2015-03-26commit work in progress. tests pass.Scott Moser
2015-03-25Compile SmartOS line-parsing regex once.Daniel Watkins
2015-03-25Add link to Joyent metadata specification.Daniel Watkins
2015-03-25Switch logging from info to debug level.Daniel Watkins
2015-03-25Ensure that the serial console is always closed.Daniel Watkins
2015-03-25Add logging to JoyentMetadataClient.Daniel Watkins
2015-03-25Convert DataSourceSmartOS to use v2 metadata.Daniel Watkins
2015-03-18Update is_disk_used for changed enumerate_disk output.Daniel Watkins
Fixes Launchpad bug #1311463.
2015-03-17SmartOS: fixes for python3 reading from serial device.Scott Moser
We were hitting exceptions when writing to the SmartOS serial console and, once that was fixed, we were hanging permanently waiting for b"." == "." to be true. This fixes both of those issues.
2015-03-16emit_upstart: fix use of undeclared variableScott Moser
2015-03-13Write and read bytes to/from the SmartOS serial console.Daniel Watkins
2015-03-11userdata-handlers: python3-related fixes on do-not-process-this-part pathOleg Strikov
Cloud-init crashed when received multipart userdata object with 'application/octet-stream' part or some other 'application/*' part except archived ones (x-gzip and friends). These parts are not processed by cloud-init and result only in a message in the log. We used some non-python3-friendly techniques while generating this log message which was a reason for the crash.
2015-03-10DataSourceMAAS: fix timestamp error in oauthlibScott Moser
oddly enough, the timestamp you pass into oauthlib must be a None or a string. If not, raises ValueError: Only unicode objects are escapable. Got 1426021488 of type <class 'int'>