summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-06-17fix cloud-config.conf upstart jobScott Moser
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
2010-06-17cloud.cfg: remove accidently commited 'cloud_config_modules' sectionScott Moser
remove the section, these should be covered in 'builtin'. The content was correct, just not needed. Added an example to doc/examples/cloud-config.txt on how the user can configure this from either cloud-config user data or from /etc/cloud/cloud.cfg
2010-06-17cloud-init: remove additional new line in log messageScott Moser
2010-06-17remove use of cloudinit constants from util.py in get_base_cfg Scott Moser
use get_base_cfg from CloudInit:read_cfg
2010-06-17remove debug printfs from __init__Scott Moser
2010-06-17add initial logging supportScott Moser
This logging infrastructure in cloudinit: - uses python logging - allows user supplied config of logging.config.fileConfig format to be supplied in /etc/cloud/cloud.cfg or in cloud_config by user data. - by default, tries to use syslog, if that is not available, writes directly to /var/log/cloud-init.log (syslog will not be available yet when cloud-init runs) - when using syslog, the doc/21-cloudinit.conf file provides a rsyslogd file to be placed in /etc/rsyslog.d/ that will file [CLOUDINIT] messages to /var/log/cloud-init.log
2010-06-15add vi modelines to python filesScott Moser
2010-06-09remove ec2-get-info.py. Scott Moser
This is replaced by ec2metadata, per LP: #547019 LP: #547019
2010-05-05wait considerably longer (1050 seconds) for metadata service to come upScott Moser
Also - adds some debugging information when its waiting - add 'uptime' printout on initial cloud-init invocation
2010-03-29util.py: allow for case-insensitive "true" values in get_cfg_option_bool. Scott Moser
LP: 507709 LP: #507709
2010-03-26move to 0.5.10Scott Moser
2010-03-25This runs could-config-mounts on 'filesystem' event rather than onScott Moser
cloud-config. Doing so means the collision that was occuring with upstart/mountall will not occur. However, it also means any mounts configured will not be mounted until later. LP: #527825 LP: #527825
2010-03-25ec2-get-info.py: fix bad indentationScott Moser
2010-03-25[packaging] change make-dist-tarball to use the tag given to itScott Moser
2010-03-25better 'Caught exception reading instance data' errorScott Moser
2010-03-08move version to 0.5.9Scott Moser
2010-03-08rename apt lists files to match newly selected mirror (LP: #513060)Scott Moser
On first boot of an instance, cloud-config replaces /etc/apt/sources.list with references to a local mirror. This will also rename the old list files in /var/lib/apt/lists . LP: #513060
2010-03-04replace 'cloudconfig' entries in fstab rather than appending (LP: #524562)Scott Moser
This marks the comment option of fs_mntops in fstab (man fstab) with cloudconfig for each of the mount options added by cloudconfig. It will search through existing lines, any entry written by cloudconfig will be deleted. LP: #524562
2010-03-04in ebs root instances, ephemeral0 will have a full path.Scott Moser
In instance store I was used to block-device-mapping: {'ami': 'sda1', 'ephemeral0': 'sda2', 'root': '/dev/sda1', 'swap': 'sda3'}, in ebs, image registered with '--block-device-mapping /dev/sda2=ephemeral0', metadata is showing block-device-mapping: {'ami': '/dev/sda1', 'ephemeral0': '/dev/sda2', 'root': '/dev/sda1', 'swap': 'sda3'}, Without this change, 'ephemeral0' would not get translated and would show up in /etc/fstab.
2010-03-04cloudinit/CloudConfig.py: bug fix, 'ephemeral' in cloud-configScott Moser
would not be converted to 'ephemeral0'
2010-03-04cloudinit/CloudConfig.py whitespace changes (remove tabs)Scott Moser
2010-03-02move setup.py to 0.5.8Scott Moser
2010-03-02update upstart/* files to be in sync with 0.5.7-0ubuntu4Scott Moser
Some changes were rushed in prior to lucid beta that didn't get pulled back into the upstream release. I'm pulling those in here.
2010-03-02replace another 'EC2' string with 'cloud'Scott Moser
2010-03-02purge cache in cloud-init so it doesn't end up persisting across instancesScott Moser
The cache file location is not instance specific. As such, if it is not cleaned from the image, a re-bundle would get the old data. To avoid that, clear the cache in cloud-init.
2010-02-24fix format of cron.d/cloudinit-updatesScott Moser
2010-02-24ensure that cache dir is present if not created, and tighten permissionsScott Moser
on object cache stored there.
2010-02-24add info on how to delete null routeScott Moser
2010-02-19make sure items are strings (not ints)Scott Moser
2010-02-19force ru-user-script to wait on cloud-config-miscScott Moser
cloud-config-misc is adding a script to the directory where user-scripts go, so run-user-script has to wait on it.
2010-02-19typo in warningScott Moser
2010-02-19add "runcmd" support in CloudConfigScott Moser
runcmd allows simple running of commands at rc.local like time frame see doc/examples/cloud-config.txt for more info.
2010-02-19add the cloud-config-misc upstart jobScott Moser
2010-02-18fix motd-hook in case of more than 4 fields in BUILD_FILEScott Moser
if the BUILD_FILE file had more than 4 fields in it, 'serial' would get all additional fields and would then look wrong in the message. protect from that case by adding a var to 'read'.
2010-02-18run cloud-config-puppet later (LP: #523625)Scott Moser
LP: #523625
2010-02-18fix 'time not defined' bug (LP: #523832)Scott Moser
LP: #523832
2010-02-17update to 0.5.5Scott Moser
2010-02-17add updates-check support using uec-query-buildsScott Moser
2010-02-17fix broken user-data scriptsScott Moser
cloud-run-user-script was never running because it depended on 'stopped cloudinit', rather than 'stopped cloud-init'.
2010-02-16merge mathiaz work for cloud-config-puppetScott Moser
2010-02-16Refactor puppet key detection in the configuration as suggested by Scott.Mathias Gug
2010-02-16merge mathiaz work for cloud-config-puppetScott Moser
2010-02-16Add cloud-config-puppet hook.Mathias Gug
2010-02-12fix bug where caused apt update to failScott Moser
2010-02-11rename EC2Init class to CloudInitScott Moser
2010-02-10only set hostname once per instance. (LP: #514492)Scott Moser
LP: #514492
2010-02-04add copyright informationScott Moser
2010-02-04rename cloudinit.conf to cloud-init.confScott Moser
2010-02-04more removal of 'ec2init' string, replacement with cloud-init [again] Scott Moser