Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-07-24 | Fix small prefix bug + jsonp tests. | Joshua Harlow | |
Fix the wrong usage of the prefix removal array action by just using the new util function that does these actions correctly. Add in a couple of unit tests to verify the jsonp merging and usage works as expected. | |||
2013-07-24 | rename CC_JSONP_PRE again (JSONP_PREFIX) and use CLOUD_PREFIX | Scott Moser | |
2013-07-24 | change 'json-patch' to 'cloud-config-jsonp' | Scott Moser | |
2013-07-24 | merge from trunk | Scott Moser | |
2013-07-24 | DataSourceSmartOS: fix issue if dmidecode is not present | Scott Moser | |
2013-07-24 | add SmartOS datasource supporting Joyent cloud | Ben Howard | |
This adds a datasource designed to work on Joyent cloud (SmartOS). | |||
2013-07-23 | Changed get_serial to be fully parameterized and return the serial | Ben Howard | |
initialized. Added a mapping of attributes between cloud-init and smartos. | |||
2013-07-23 | on azure datasource, grab use Deployment as the instance-id | Scott Moser | |
LP: #1204190 | |||
2013-07-23 | Move more functionality into get_serial() | Ben Howard | |
2013-07-23 | alias 'availability_zone' to availability-zone in metadata service. | Scott Moser | |
The place this was noticed was in trying to use the 'nova.clouds.archive.ubuntu.com' mirror selection. Because the config-drive-v2 has a metadata entry of 'availability_zone', it didn't get found by the availabilty_zone property in cloudinit/sources/__init__.py LP: #1190431 | |||
2013-07-23 | use constants for startswith in handlers. add strip_prefix_suffix. | Joshua Harlow | |
Just cleans up some repeated strings into module constants + a util function to do the boothook prefix cleanup (before writing). | |||
2013-07-23 | finalize handlers even when another handler fails. | Joshua Harlow | |
Instead of previously initializing and not finalizing the handles that completed successfully when a handler initializing or running failed we should attempt to always give said handlers a chance to finalize (even when another handler fails). LP: #1203368 | |||
2013-07-23 | allow individual MIME segments to be gzip compressed | Joshua Harlow | |
this will automatically decompress individual MIME segments if they are compressed. LP: #1203203 | |||
2013-07-23 | bump version in cloudinit/version.py | Scott Moser | |
2013-07-23 | Fix password setting for rhel5. | Scott Moser | |
Changing password via 'chpasswd' command in rhel5 would fail, if input to the 'chpasswd' command doesn't end with '\n'. The fix is just to append a carriage return to the input. | |||
2013-07-21 | Ensure what we are searching over is a directory. | Joshua Harlow | |
2013-07-21 | Also make the dir handler registration a simple function. | Joshua Harlow | |
2013-07-21 | Just use an initialized array. | Joshua Harlow | |
2013-07-21 | Use a util helper to do prefix/suffix removal. | Joshua Harlow | |
2013-07-21 | Use constants for repeated type strings. | Joshua Harlow | |
2013-07-20 | Just check the filename existing. | Joshua Harlow | |
2013-07-20 | Unify filename, header replacement. | Joshua Harlow | |
2013-07-20 | Keep filename from original part. | Joshua Harlow | |
2013-07-20 | Ensure we reset the part after decompression. | Joshua Harlow | |
2013-07-20 | Remove return not used. | Joshua Harlow | |
2013-07-20 | Also handle custom handlers correctly. | Joshua Harlow | |
LP: #1203368 | |||
2013-07-20 | Update comments + link to bug. | Joshua Harlow | |
LP: #1203368 | |||
2013-07-20 | Init and finalize refactor. | Joshua Harlow | |
Instead of previously initializing and not finalizing the handles that completed successfully when a handler initializing or running failed we should attempt to always give said handlers a chance to finalize (even when another handler fails). | |||
2013-07-20 | Bump the version. | Joshua Harlow | |
LP: #1203364 | |||
2013-07-20 | Ensure we remove the same way we detect. | Joshua Harlow | |
2013-07-20 | Remove json-patch inclusion header if payload contains it. | Joshua Harlow | |
2013-07-20 | Fix constant move. | Joshua Harlow | |
2013-07-20 | Fix content-type constant. | Joshua Harlow | |
2013-07-20 | Add usage of '#json-patch' | Joshua Harlow | |
2013-07-19 | Add the ability to merge with jsonpatch. | Joshua Harlow | |
Jsonpatch is a new RFC standard for merging json-like structures which the cloud-init cloud-config is one such structure. To use this in a limited fashion (to start) add the ability for the cloud-config handler to accept this content-type and use it as an alternate way to merge new cloud-config sections into the accumulated cloud-config. LP: #1200476 | |||
2013-07-19 | Add the ability to decompress MIME gzip. | Joshua Harlow | |
Instead of being restricted to only gzip compressing the overall mime segment or individual included segments, allow for each mime segment to be gzip compressed. LP: #1203203 | |||
2013-07-18 | Added SmartOS datasource and unit tests. | Ben Howard | |
2013-07-17 | plain text password of '' or None should not trigger setting | Scott Moser | |
2013-07-17 | merge from trunk | Scott Moser | |
2013-07-17 | Azure: make /var/lib/waagent with 0700 perms | Scott Moser | |
The walinux agent expects that the files it writes with 0644 (default umask) permissions are not globally readable. Since we were creating the directory for it, and using default umaks (0755), the files inside were readable to non-priviledged users. | |||
2013-07-17 | DataSourceAzure: fix inverted logic on DisablesshPasswordAuthentication | Ben Howard | |
DisablesshPasswordAuthentication == True means that ssh_pwauth should be disabled rather than enabled. LP: #1201969 | |||
2013-07-16 | Use the inverse of DisableSshPasswordAuthentication for ssh_pwauth. | Ben Howard | |
(LP: 1201969) | |||
2013-07-11 | DataSourceAzure.py: allow 'customdata' to be the name for userdata | Scott Moser | |
Also, fix a comment and write a log message on how long we waited for the files to appear. | |||
2013-07-11 | upstart_job.py: fix pylint and bad bad variable in _has_suitable_upstart | Scott Moser | |
2013-07-10 | add waiting for files and reading of crt keys | Scott Moser | |
2013-07-09 | build up the 'wait_for' list including fingerprint.crt files | Scott Moser | |
2013-07-09 | fill out load_azure_ovf_pubkeys | Scott Moser | |
now if there are pubkeys, the cfg['_pubkeys'] entry will have a list of dicts where each dict has 'fingerprint' and 'path' entries. The next thing to do is to block waiting for the <fingerprint>.crt files to appear in /var/lib/waagent. | |||
2013-07-09 | mention using cached | Scott Moser | |
2013-07-09 | search in the default storage directory for cached ovf-env.xml | Scott Moser | |
since azure ejects the disk on reboot, we need to look there to find this datasource. | |||
2013-07-09 | populate /var/lib/waagent with ovf-env.xml | Scott Moser | |
this will copy the ovf-env.xml file that was found to the configured directory (default /var/lib/waagent) |