Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-24 | shorten comments in example cloud-config | Scott Moser | |
2013-07-23 | Added blurb to documentation about the datasource | Ben Howard | |
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 | adds support for SLES plus some basic unittests. | Juerg Haefliger | |
Some code from the RHEL handler was moved to a new file so that it can be used by the SLES handler. | |||
2013-07-17 | plain text password of '' or None should not trigger setting | Scott Moser | |
2013-07-17 | fix indentation a bit in Makefile | 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 | test_builtin_handlers.py: fix pylint | Scott Moser | |
2013-07-11 | upstart_job.py: fix pylint and bad bad variable in _has_suitable_upstart | Scott Moser | |
2013-07-10 | add Azure datasource | Scott Moser | |
This datasource is not perfect at this point, but is tested on raring. It expects that walinuxagent config is set to disable provisioning (Provisioning.Enabled=n) and also that walinuxagent will not start otherwise (ie 'echo manual | sudo tee /etc/init/walinuxagent.override). | |||
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. |