| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2011-01-26 | import fixes for DataSourceOVF | Scott Moser | |
| 2011-01-26 | remove needless import and defines in util.py | Scott Moser | |
| 2011-01-26 | change 'except' syntax to python 3 style. | Scott Moser | |
| Everywhere that there occurred: except Exception, e: changed to except Exception as e: | |||
| 2011-01-25 | add get_public_ssh_keys and get_hostname methods to DataSourceOVF.py | Scott Moser | |
| 2011-01-25 | add mostly untested but possibly functional DataSourceOVF code | Scott Moser | |
| 2011-01-25 | add get_config_obj to a DataSource object. | Scott Moser | |
| This will allow for a DataSource to provide its own config that will then be utilized as part of CloudConfig. [to be used in OVF] | |||
| 2011-01-25 | add a stubbed OVF Transport implementation for vmware-guestd | Scott Moser | |
| 2011-01-25 | add initial ovf data source class | Scott Moser | |
| 2011-01-25 | initial import of ovf code | Scott Moser | |
| 2011-01-25 | make final_message run 'per_always' rather than per-instance | Scott Moser | |
| 2011-01-25 | make rightscale config default to once-per-instance, not once-ever | Scott Moser | |
| 2011-01-25 | add 'phone_home' to cloud-config | Scott Moser | |
| 2011-01-25 | add support for posting data to a URL (phone_home) | Scott Moser | |
| There is no default configured. Nothing is done by default. | |||
| 2011-01-25 | fix bad variable name in readurl | Scott Moser | |
| 2011-01-25 | add missing urllib import in util | Scott Moser | |
| 2011-01-25 | add support for reading rightscale style userdata | Scott Moser | |
| LP: #668400 | |||
| 2011-01-25 | add support for redirecting output of cloud-init, cloud-config and cloud-final | Scott Moser | |
| 2011-01-25 | use timestamp.gmtime() for timestamps rather than time() or datetime | Scott Moser | |
| 2011-01-24 | move cloud-run-user-script.conf to cloud-final, use cloud-cfg for invoking | Scott Moser | |
| This moves what was done as cloud-run-user-script.conf to 'cloud-final' and makes that re-use the cloud-init-cfg code, but simply with a different set of default configs. Also, adds keys_to_console and final_message cloud-config modules LP: #653271 | |||
| 2011-01-24 | merge in fixes to get to functioning point | Scott Moser | |
| 2011-01-24 | cc_update_hostname: fix error handling | Scott Moser | |
| 2011-01-24 | cloudinit/__init__: fix get_cpath() | Scott Moser | |
| 2011-01-24 | cc_update_hostname: fix bad variable name | Scott Moser | |
| 2011-01-24 | cloudinit/__init__.py: fixes to initfs | Scott Moser | |
| 2011-01-24 | add CloudConfig.per-once definition | Scott Moser | |
| 2011-01-21 | add function to cloud-init to run cloud-config style modules | Scott Moser | |
| add 'hostname' cloud-config option for setting hostname make rsyslog and resizefs run at cloud-init time | |||
| 2011-01-21 | cc_locale: fix copy paste code error if args are given | Scott Moser | |
| 2011-01-20 | add 'resize_rootfs' cloud-config option. | Scott Moser | |
| 2011-01-20 | remove updates check, as its no longer really necessary (LP: #653220) | Scott Moser | |
| LP: #653220 | |||
| 2011-01-20 | support configuration of what is the default log file | Scott Moser | |
| since user names and group names wont' be the same on all images, allow configuration of what ownership to put on 'default_log_file'. | |||
| 2011-01-20 | add caching of parsed configs to util.get_base_cfg | Scott Moser | |
| add caching of the parsed config, this will allow re-use in cloudinit so that we don't have to load the default config more than once in a program. | |||
| 2011-01-19 | add cloud-config-archive input type. | Scott Moser | |
| cloud-config-archive is a yaml formated document where the top level should contain an array. Each entry in the array can be one of - dict { 'filename' : 'value' , 'content' : 'value', 'type' : 'value' } filename and type may not be present - scalar(content) if filename and type are not present, they are attempted to be guessed. LP: #641504 | |||
| 2011-01-19 | do not use 'str' as a variable name | Scott Moser | |
| 2011-01-19 | fix bug in get_cpath | Scott Moser | |
| 2011-01-19 | add 'data' entry in pathmap and move get_cpath to a static function | Scott Moser | |
| 2011-01-19 | make scripts sub-dirs for per-<item> | Scott Moser | |
| 2011-01-19 | convert 'cachedir' to 'seeddir', move cloud_config, scripts to instance | Scott Moser | |
| - cloud_config and scripts now live in instance directory - cachedir is now more correctly named 'seeddir' | |||
| 2011-01-19 | move cache to instance specific dir | Scott Moser | |
| 2011-01-19 | move boothooks and user-data into instance dir | Scott Moser | |
| 2011-01-19 | initial /var/lib rework still lots to do. includes a fix for LP: #704509 | Scott Moser | |
| LP: #704509 | |||
| 2011-01-19 | support $MIRROR and $RELEASE in apt-source cloud-config lines (LP: #693292) | Scott Moser | |
| sources can use $MIRROR and $RELEASE and they will be replaced with the local mirror for this cloud, and the running release this: - source: deb $MIRROR $RELEASE multiverse would possibly be turned into: - source: deb http://us-east-1.ec2.archive.ubuntu.com/ubuntu natty multiverse LP: #693292 | |||
| 2011-01-19 | move user scripts ('#!' and runcmd) to be per-instance (LP: #675711) | Scott Moser | |
| Previously, if you ran an instance with either runcmd data or user-data scripts, it would run again after rebundle or create-image. This puts the files created by runcmd or user-data scripts into instance-id specific paths, and then runs them by that instance-id specific path. LP: #675711 | |||
| 2011-01-19 | add 'cloud-init-query' tool, to query fields from cloud data | Scott Moser | |
| At this point, this is appears much like a cripped 'ec2metdata' tool. However, it does provide a tool interface to some fields independent of their DataSource. | |||
| 2011-01-19 | make 'do not login as root' message more clear. | Scott Moser | |
| When the user attempts login as root, they see a message suggesting a different user. This changes that message from: Please login as the ubuntu user rather than root user. to Please login as the user "ubuntu" rather than the user "root". LP: #672417 | |||
| 2011-01-19 | move writing of ssh key fingerprints to a separate tool | Scott Moser | |
| This will allow this code to be called more easily elsewhere. I'm considering having the "all the way up" message contain fingerprints so that they're more or less guaranteed to get to the console where the user could see them. | |||
| 2011-01-19 | add handling of rsyslog in cloud-config | Scott Moser | |
| This adds the following cloud-config keys: - 'rsyslog_dir' default: /etc/rsyslog.d - 'rsyslog_filename' default: 20-cloud-config.conf - 'rsyslog' (list) default: empty | |||
| 2011-01-19 | remove debug print statement | Scott Moser | |
| 2011-01-18 | remove 'get_locale' from DataSourceEc2. | Scott Moser | |
| Previously the 'get_locale()' method of DataSourceEc2 would select a default locale based on the availability zone that the instance was running on. I generally don't like that as a.) there are loads of other locales than en_US and en_GB (that were being used) b.) either one is almost certainly not really the users preferred locale. Just because I launch an instance in eu-west-1 doesn't mean I perfer en_GB. | |||
| 2011-01-18 | move setting of default locale out of cloud-init, into cloud-config | Scott Moser | |
| Now, instead of setting a default value in cloud-init based only on the DataSource, this supports using 'locale' in the cloud-config. | |||
| 2011-01-18 | revert previous commit that special cased 'ssh_import_id' on cmdline | Scott Moser | |
| Instead of: root=LABEL=uec-rootfs ro console=hvc0 ssh_import_id=smoser We now have more generic: root=LABEL=uec-rootfs ro console=hvc0 cc:ssh_import_id: smoser | |||
