Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-05-28 | changed config key name | keyz182 | |
2011-05-28 | log.warn to log.warning | keyz182 | |
removed extra args from string format | |||
2011-05-28 | Removed unnecessary newline | keyz182 | |
2011-05-28 | Added support for loading metadata urls from config files. | keyz182 | |
2011-05-26 | Another silly typo. | keyz182 | |
2011-05-26 | Remove any unresolveable addresses before attempting to access metadata. | keyz182 | |
2011-05-25 | Fixed silly mistake self.metadata_address instead of metadata_address. D'oh. | keyz182 | |
2011-05-25 | Fix for default metadata_address value | keyz182 | |
2011-05-25 | Modified to reflect changes suggested by Scott Moser | keyz182 | |
2011-05-24 | Modified cloudinit/DataSourceEc2.py and cloudinit/boto_utils.py to check ↵ | keyz182 | |
both http://169.254.169.254 and http://instance-data:8773 for meta data service. LP: #761847 | |||
2011-05-24 | Modified cloudinit/DataSourceEc2.py and cloudinit/boto_utils.py to check ↵ | keyz182 | |
both http://169.254.169.254 and http://instance-data:8773 for meta data service. LP: #761847 | |||
2011-03-21 | fix bug with resizefs module | Scott Moser | |
instead of using blkid on /dev/root, create a device node ourselves with the correct device number of '/', then use blkid and resize2fs on that. I believe the problem was that /dev/root was occasionally not being present due to race. LP: #726938 | |||
2011-03-21 | fix bug in part-handler code, that broke working part-handlers (LP: #739694) | Scott Moser | |
LP: #739694 | |||
2011-03-08 | fix issue where apt-update was not done unless explicitly set | Scott Moser | |
2011-03-03 | make update of sources not prevent installation attempt (LP: #728167) | Scott Moser | |
LP: #728167 | |||
2011-03-03 | cc_resizefs.py: log output of failed resizefs or blkid commands | Scott Moser | |
2011-03-03 | in subp, put output and stderr into the raised error | Scott Moser | |
2011-02-22 | merge mcollective fixes from Marc. Changes to indentation and added comments | Scott Moser | |
2011-02-20 | Change output format for ConfigParser | Marc Cluet | |
2011-02-20 | Changes to mcollective module, added docs | Marc Cluet | |
2011-02-18 | handle no datasource better cloud-init-cfg | Scott Moser | |
previously, cloud-init-cfg would call CloudConfig with no cloud specified. Then, CloudConfig would get a new cloudinit instance and specify no ds_deps (which means network and local). If no cache was found, it would wait again for the Ec2 metadata service (even if it wasn't supposed to). Now, we get the cloud instance in the main program and attempt to get the data source, but only from [], which will get only cached. Then, if its not found, exit silently. | |||
2011-02-18 | add carriage return to cc_final_message.py output | Scott Moser | |
2011-02-18 | fix bug if ovf had empty seedfrom | Scott Moser | |
2011-02-18 | fix syntax erorr in cc_puppet.py | Scott Moser | |
2011-02-18 | Update puppet to replace rather than append, add mcollective [Marc Cluet] | Scott Moser | |
Modified puppet module to try to replace values on the existing file instead of adding new values to the end. Also added initial mcollective module | |||
2011-02-17 | update /etc/hosts hosts.tmpl to if 'manage_etc_hosts' is set in cloud-config | Scott Moser | |
LP: #720440 | |||
2011-02-17 | change from yaml+'#include' to yaml + config.d format for cloud.cfg | Scott Moser | |
2011-02-15 | Changes to puppet module + mcollective module | Marc Cluet | |
2011-02-07 | add 'bootcmd' like 'runcmd' to cloud-config syntax for running things early | Scott Moser | |
2011-02-07 | add apt helper routeins to CloudConfig, and use them in apt and puppet | Scott Moser | |
Adding the apt helper routines to CloudConfig. Then, make use of the following from cc_puppet and cc_apt_update_upgrade update_package_sources(): install_packages(pkglist): I'm not really terribly happy with this location for them. Their presence here is really only because of apt-update's use of 'run-once-per-instance'. | |||
2011-02-07 | add 'run_per_instance' to CloudConfig | Scott Moser | |
This method aloows the caller to run easily run something "once per instance". Its location in CloudConfig rather than 'util' is really only because it needs access to cloudinit.get_ipath_cur to get the 'data' path. | |||
2011-02-07 | rename 'datadir' key to 'data' in pathmap | Scott Moser | |
2011-02-07 | make DataSourceEc2 configurable (timeout, retries), lower default retries | Scott Moser | |
This lowers the default retries from 100 to 30 (1050 seconds to 105 seconds) | |||
2011-02-07 | call DataSource classes with sys_cfg argument | Scott Moser | |
2011-02-07 | add sys_cfg option to DataSource:__init__ , populate ds_cfg from it | Scott Moser | |
In order to be able to configure a DataSource via system config (ie, what is in /etc/cloud/cloud.cfg), we pass this into the DataSource class. The DataSource parent class will set up the 'ds_cfg' member based on the subclass name. So, DataSourceEc2 will get: self.ds_cfg = sys_cfg['datasource']['Ec2'] populated for it. | |||
2011-02-07 | add utility function get_cfg_by_path | Scott Moser | |
2011-02-07 | add config option 'manual_cache_clean'. | Scott Moser | |
This option allows user to specify manual cleaning of the /var/lib/cloud/instance/ link, for a data source that might not be present on every boot. | |||
2011-02-04 | fix logging in DataSource modules | Scott Moser | |
Previous logging was getting 'None' set in the DataSource collections. Thus, 'log.debug' would throw error. I think it is proper to pull in the base cloudinit's log. | |||
2011-02-04 | resizefs didn't work, as 'blkid' would return error status 2 | Scott Moser | |
passing '-c /dev/null' (no cache file) seems to work fine. | |||
2011-02-04 | First try to read from cdrom device before mounting | Scott Moser | |
mount was taking 18 seconds when there was no media on a kvm guest. a simple read should be about as quick as we can fail. The only other thing to try would be to use cdrom.h and ioctl for CDROM_DRIVE_STATUS. | |||
2011-02-04 | change default of resize_rootfs to True | Scott Moser | |
2011-02-01 | remove double slash returned by get_ipath_cur | Scott Moser | |
2011-02-01 | fix the path for user scripts. | Scott Moser | |
A bug caused user scripts to get stored in /var/lib/cloud/instance/scripts/<instance-id>/ which meant they would not get run by 'run-user-scripts'. LP: #711480 | |||
2011-02-01 | Fixes issue puppet configuration option values in quotes. | Scott Moser | |
LP: #709946 | |||
2011-01-31 | make write_to_cache raise errors if it fails rather than surpressing | Scott Moser | |
2011-01-31 | replace DataSource's self.log | Scott Moser | |
After adding the 'log' element to the DataSource class, pickling would fail with TypeError: can't pickle file objects Instead of having the object with a log reference, use one from 'DataSource.log' and have that set by cloudinit | |||
2011-01-31 | close file descriptors given to cPickle.load and cPickle.dump | Scott Moser | |
2011-01-31 | allow 'ds=nocloud' to appear at end or beginning kernel cmdline | Scott Moser | |
2011-01-28 | add setting of passwords. | Scott Moser | |
2011-01-28 | add previous-instance-id and previous-datasource files to cloud/data | Scott Moser | |
add 'datasource' file to instance dir |