summaryrefslogtreecommitdiff
path: root/cloudinit/CloudConfig
AgeCommit message (Collapse)Author
2011-01-14add support for specifying ssh-import-id on the kernel command lineScott Moser
2011-01-12ssh-import-lp-id was renamed to ssh-import-idScott Moser
2010-09-11grub-dpkg cloud-config, move convert inline shell to pythonScott Moser
2010-09-10set grub-pc values based on user input or automaticallyScott Moser
LP: #623609
2010-09-10cc_mounts.py: convert user input from int to stringScott Moser
for 'mounts' entries that yaml interprets as integers, we need to be strings. This is because of he 'join' that is used on the array. For example: mounts: - [ ebs1, none, swap, sw, 0, 0 ] was throwing error when the array was joined.
2010-09-10fix bad format of log message.Scott Moser
2010-09-09change default for ephemeral0 device to use 'nobootwait'Scott Moser
This means that if you booted an ebs instance with a ephemeral0 device and then stopped it and modified its type to be one that did *not* have an ephemeral0 device, you'd still have the entry, but it wouldn't block boot. LP: #634102
2010-09-07Fix missing import.Mathias Gug
2010-08-31append to apt_sources filenames rather than truncating.Scott Moser
Previously, apt_sources: - source: source1 - source: source2 resulted in source1 being written to /etc/apt/sources.list.d/cloud_config_sources.list , and then that being overwritten by source2. This definitely is not expected. Instead, in all cases now, (including 'filename:' cases), just append. LP: #627597
2010-08-12cc_disable_ec2_metadata.py: fix broken disable_ec2_metadataScott Moser
2010-08-09cc_mounts: improve comment stringsScott Moser
2010-08-09cloud-init-cfg: log warning with traceback on failure of a config moduleScott Moser
Previously, all you would get was a warning to the console on config module failure. This changes to get a stack trace of the failure to the console, which is much easier for debugging.
2010-07-21invoke apt so dpkg non-interactively takes old conf files (LP: #607642)Scott Moser
2010-07-13fix bad/un-removed code in cd_mounts.pyScott Moser
2010-07-09extend list of possible metadata names with 'ebs[0-9]'Scott Moser
ec2-run-instances --block-device-mapping /dev/sdd=:1 --block-device-mapping /dev/sde=snap-4cda7b24 --block-device-mapping sdf=snap-d4d90bbc resulted in: 'block-device-mapping': {'ami': '/dev/sda1', 'ebs1': '/dev/sdd', 'ebs2': '/dev/sde', 'ebs3': 'sdf', 'ephemeral0': '/dev/sda2', 'root': '/dev/sda1', 'swap': 'sda3'}
2010-07-08change default 'pass' entry to '2' rather than 0Scott Moser
2010-07-08add 'nobootwait' to the default options for fstab entriesScott Moser
It just seems like for cloud instances, getting /etc/fstab written incorrectly with the result of non-booting system is worth avoiding.
2010-07-08fix bug where nfs/network mounts could not be specified (LP: #603329)Scott Moser
What caused this was having an open ended list on what "names" might be found in the metadata service. That list is now trimmed down to the the following values: ephemeral* root ami swap The above list was found from crawled medata data services in the latest maverick tests I did. The following is the complete list of entries that were there: 'ami': '/dev/sda1', 'ami': 'sda1', 'ephemeral0': '/dev/sda2' 'ephemeral0': '/dev/sdb' 'ephemeral0': 'sda2' 'ephemeral0': 'sdb' 'ephemeral1': 'sdc' 'ephemeral2': 'sdd' 'ephemeral3': 'sde' 'root': '/dev/sda1' 'root': '/dev/sda1' 'swap': 'sda3' Also, this limits which devices will have "/dev/" prepended to them to sda, sda1, xvda, xvda1, hda1, hda, vda. LP: #603329
2010-07-07warn on failed 'mount -a'Scott Moser
2010-06-29on bad cloud-config syntax (failure to yaml.load) continue onScott Moser
If user gives bad cloud-config syntax, its not very useful to die, as that is most likely to leave the system unreachable. This instead logs the error and continues as if it no cloud-config was given.
2010-06-21fix bug with apt_update_upgrade config, missing importScott Moser
2010-06-18add cloud-config hooks for enabling byobu by default.Scott Moser
2010-06-18remove some debug codeScott Moser
2010-06-18add copyright header to all of cloudinit/CloudConfig/cc_*Scott Moser
2010-06-18add suport for setting debconf selections through debconf-set-selectionsScott Moser
LP: #582667
2010-06-18add ssh_import_id cloud-config moduleScott Moser
2010-06-18fix trace due to lack of 'import traceback'. change error messageScott Moser
to be debug (with traceback). The exception is still raised, but no reason for the whole traceback to be on error
2010-06-18remove trailing whitespace in previous commitScott Moser
2010-06-18prefix config 'sem' entries with semaphores with 'config-'Scott Moser
Previously, most of the config semaphores were prefixed with 'config-'. Ie, a sem/ list would look like: apt-update-upgrade.i-7c908817 config-misc.i-7c908817 config-mounts.i-7c908817 config-puppet.i-7c908817 config-ssh.i-7c908817 consume_userdata.i-7c908817 disable-ec2-metadata.always set_defaults.i-7c908817 set_hostname.i-7c908817 With the last release (0.5.11), those config- would have been removed. I'll handle this correctly yuckyness in the ubuntu package upgrade (avoiding re-running scripts that were already ran)
2010-06-17make cloud-config modules configurable by cloud-configScott Moser
The list of cloud-config modules is now kept in cloud config itself. There is a builtin list in cloudinit, which is overrideable by /etc/cloud/cloud.cfg or user data cloud-config. This should make the modules more easily added or removed (as no code needs to be edited now) Basic summary of changes: - move CloudConfig.py -> cloudinit/CloudConfig/__init__.py - split cloud-config modules into their own files named cloudinit/CloudConfig/cc_<name>.py - remove all the upstart/cloud-config-* scripts, replacing them with upstart/cloud-config.conf