Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 setting of passwords. | Scott Moser | |
2011-01-28 | add previous-instance-id and previous-datasource files to cloud/data | Scott Moser | |
add 'datasource' file to instance dir | |||
2011-01-28 | Removing quotes from puppet config option values | Ryan Lane | |
LP: #709946 | |||
2011-01-27 | fix the filename of the processed userdata | Scott Moser | |
Change /var/lib/cloud/instance/ user-data-raw.txt.i to user-data.txt.i | |||
2011-01-27 | take correct action if def_log_file and syslog_fix_perms are empty | Scott Moser | |
2011-01-27 | fix bug in fixing permission on default log file | Scott Moser | |
2011-01-26 | if output entry is a scalar, send stdout and stderr same place | Scott Moser | |
2011-01-26 | cc_ssh: if a private key is supplied, do not require public. | Scott Moser | |
given rsa_private_key, rsa_public_key is not needed in the ssh element of cloud-config. instead, it can be generated with ssh-keygen -yf LP: #648905 | |||
2011-01-26 | add timezone to cloud-config (LP: #645458) | Scott Moser | |
LP: #645458 | |||
2011-01-26 | rework of DataSource loading. | Scott Moser | |
The DataSources that are loaded are now controlled entirely via configuration file of 'datasource_list', like: datasource_list: [ "NoCloud", "OVF", "Ec2" ] Each item in that list is a "DataSourceCollection". for each item in the list, cloudinit will attempt to load: cloudinit.DataSource<item> and, failing that, DataSource<item> The module is required to have a method named 'get_datasource_list' in it that takes a single list of "dependencies" and returns a list of python classes inside the collection that can run needing only those dependencies. The dependencies are defines in DataSource.py. Currently: DEP_FILESYSTEM = "FILESYSTEM" DEP_NETWORK = "NETWORK" When 'get_datasource_list' is called for the DataSourceOVF module with [DEP_FILESYSTEM], then DataSourceOVF returns a single item list with a reference to the 'DataSourceOVF' class. When 'get_datasource_list' is called for the DataSourceOVF module with [DEP_FILESYSTEM, DEP_NETWORK], it will return a single item list with a reference to 'DataSourceOVFNet'. cloudinit will then instanciate the class and call its 'get_data' method. if the get_data method returns 'True', then it selects this class as the selected Datasource. | |||
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 | |