Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-03-02 | fix bug preventing early exit of cloud-init on 'no-net' path | 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-19 | add examples of kernel command line cloud-config | Scott Moser | |
2011-02-18 | minor updates to ovf documentation | Scott Moser | |
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 | in nonet wait, print how long wait will be. | Scott Moser | |
2011-02-18 | add carriage return to cc_final_message.py output | Scott Moser | |
2011-02-18 | fix the base64 encoded value for user-data. | Scott Moser | |
The previous value had dos style newlines. The current string was obtained with: printf '#!/bin/sh\necho "hi world"\n' | base64 | |||
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 | cloud-init-nonet.conf: redirect grep to /dev/null, so it doesn't go | Scott Moser | |
to console on missing file | |||
2011-02-18 | update changelog for Marc's contributions | 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-18 | improve startup if no eth0 is available (LP: #714807) | Scott Moser | |
LP: #714807 | |||
2011-02-18 | change 0.6.0 -> 0.6.1 | Scott Moser | |
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 | update TODO, ChangeLog | 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 | add a debian.trunk dir and tools/bddeb to easily build a deb from here | Scott Moser | |
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 | update changelog | Scott Moser | |
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 | update changelog | Scott Moser | |
2011-02-04 | change default of resize_rootfs to True | Scott Moser | |
2011-02-03 | update TODO | 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 support for setting passwords and managing PasswordAuthentication | Scott Moser | |
Note: by default, nothing is done. No users will have passwords set, nor will sshd's configuration be changed unless cloud-config is modified. Additionally, by default, users whose passwords are set have their password expired, forcing a change. | |||
2011-01-28 | add setting of passwords. | Scott Moser | |