summaryrefslogtreecommitdiff
path: root/cloudinit
AgeCommit message (Collapse)Author
2011-07-25Added ssl cert support to mcollectiveMarc Cluet
2011-07-25Added new feature include-onceMarc Cluet
2011-07-21fix syntax error in cc_chef.pyScott Moser
2011-07-19special case handling of mapping for ephemeral0Scott Moser
t1.micro do not have a ephemeral0 disk, but the metadata service will have an entry there. i386 t1.micro: 'block-device-mapping': {'ami': '/dev/sda1', 'ephemeral0': '/dev/sda2', 'root': '/dev/sda1'}, amd64 t1.micro: 'block-device-mapping': {'ami': '/dev/sda1', 'ephemeral0': '/dev/sdb', 'root': '/dev/sda1'}, LP: #744019
2011-07-19increase timeout on read_seed when a seedfrom was explicitly givenScott Moser
In the case where a seedfrom value was given on the command line or in the config file, we were timing out in 2 seconds on the connection. That timeout was put in place to support "probing" for sources, but seedfrom is explictly given. So, in that case, do a urllib.open without a timeout value. Looking at source code, default timeout is 'socket._GLOBAL_DEFAULT_TIMEOUT', but rather than importing that and using it, I will call without a timeout value. LP: #812646
2011-07-19improve the updating of /etc/hosts with correct fqdn when possibleScott Moser
Thanks to Adam Gandalman and Marc Cluet for this fix. LP: #812539
2011-07-19do not complain if attempt to resizefs in an lxc container failsScott Moser
it is expected / understood that mknod would fail inside an lxc container. So, if thats the case, just log a debug message saying so. LP: #800856
2011-07-18add chef [Avishai Ish-Shalom]Scott Moser
2011-06-30* cloudinit/CloudConfig/cc_update_etc_hosts.pyMarc Cluet
- Added new functionality to sanitise /etc/hosts
2011-06-17read authorized_keys location from sshd_config (LP: #731849)Scott Moser
LP: #785542
2011-06-17make the default "fill in" mount entries configurable. (LP: #785542)Scott Moser
The primary motivation for this is so that 'nobootwait' is not hard coded to appear in the fs_opts field. LP: #785542
2011-06-17make the "cloud-config ready" command configurable (LP: #785551)Scott Moser
Previously, when cloud-config was ready, cloud-init would emit an upstart event with: initctl emit cloud-config Now, that command is configurable via the 'cc_ready_cmd' value in cloud.cfg or user data. The default behavior is not changed. LP: #785551
2011-06-17change, and make configurable the prefix for entries in root authorized_keysScott Moser
This makes the prefix for entries added to root's authorized keys configurable. Previously, the value was: command="echo 'Please login as the user \"ubuntu\" rather than the user \"root\".\';echo;sleep 10\"" Now, at is configurable in cloud.cfg or user data by setting 'root_disabled_opts'. Additionally, the default has been changed to include 'no-port-forwarding,no-agent-forwarding,no-X11-forwarding' See LP: #798505 for more information on that. Note, that 'no-pty' was *not* added to this list as adding it means the user who simply does 'ssh root@host' gets a "cannot allocate pty" message rather than seeing warning about using root. LP: #798505
2011-06-17fix broken ec2 metadata service (incorrect variable name)Scott Moser
2011-06-14Support disabling of byobu.Scott Moser
LP: #797336
2011-06-01support configurable urls for metadata serviceScott Moser
Now, if a Eucalyptus install is in STATIC or SYSTEM mode, the metadata service can still be used. In order to do that, the user must configure their DNS so that 'instance-data' will resolve to the cloud controller. Thanks to Kieran Evans. LP: #761847
2011-06-01revert some white space changes versus trunkScott Moser
just to avoid unnecessary changes (and confusion in 'annotate')
2011-05-28changed config key namekeyz182
2011-05-28log.warn to log.warningkeyz182
removed extra args from string format
2011-05-28Removed unnecessary newlinekeyz182
2011-05-28Added support for loading metadata urls from config files.keyz182
2011-05-26Another silly typo.keyz182
2011-05-26Remove any unresolveable addresses before attempting to access metadata.keyz182
2011-05-25Fixed silly mistake self.metadata_address instead of metadata_address. D'oh.keyz182
2011-05-25Fix for default metadata_address valuekeyz182
2011-05-25Modified to reflect changes suggested by Scott Moserkeyz182
2011-05-24Modified 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-24Modified 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-04-29Seperated chef gems install to another functionAvishai Ish-Shalom
2011-04-24updated ruby packages listAvishai Ish-Shalom
2011-04-24ruby_version should be configurableAvishai Ish-Shalom
2011-04-21Added Chef pluginAvishai Ish-Shalom
2011-04-21Allow configurable hostname prefix and hostname attributeAvishai Ish-Shalom
2011-04-06fix bug seeding grub dpkg config when devices are named xvdX (LP: #752361)Scott Moser
With newer ubuntu kernels the xen block devices are named xvd[a-z][0-9] Ie, instead of /dev/sda1 the root device is /dev/xvda1. LP: #752361
2011-04-04convert some user input from dos to unix (LP: #744965)Scott Moser
If user input is a consumed as a user-script, a boothook, or a upstart job and appears to be dos-formated, then change it to unix formated LP: #744965
2011-03-30cloudinit/CloudConfig/cc_timezone.py: remove debug print outScott Moser
2011-03-30remove debug printout in cloudinit/UserDataHandler.pyScott Moser
2011-03-21fix bug with resizefs moduleScott 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-21fix bug in part-handler code, that broke working part-handlers (LP: #739694)Scott Moser
LP: #739694
2011-03-08fix issue where apt-update was not done unless explicitly setScott Moser
2011-03-03make update of sources not prevent installation attempt (LP: #728167)Scott Moser
LP: #728167
2011-03-03cc_resizefs.py: log output of failed resizefs or blkid commandsScott Moser
2011-03-03in subp, put output and stderr into the raised errorScott Moser
2011-02-22merge mcollective fixes from Marc. Changes to indentation and added commentsScott Moser
2011-02-20Change output format for ConfigParserMarc Cluet
2011-02-20Changes to mcollective module, added docsMarc Cluet
2011-02-18handle no datasource better cloud-init-cfgScott 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-18add carriage return to cc_final_message.py outputScott Moser
2011-02-18fix bug if ovf had empty seedfromScott Moser
2011-02-18fix syntax erorr in cc_puppet.pyScott Moser