summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-01-27fix the filename of the processed userdataScott Moser
Change /var/lib/cloud/instance/ user-data-raw.txt.i to user-data.txt.i
2011-01-27do not install cloud-init-query, it isn't really functionalScott Moser
2011-01-27improve comment strings in rsyslog config file tools/21-cloudinit.confScott Moser
2011-01-27take correct action if def_log_file and syslog_fix_perms are emptyScott Moser
2011-01-27fix bug in fixing permission on default log fileScott Moser
2011-01-26make cloud-init's warning more obviously a warning (prepend WARN)Scott Moser
2011-01-26if output entry is a scalar, send stdout and stderr same placeScott Moser
2011-01-26remove debug statementScott Moser
2011-01-26improve language in cloud.cfg commentScott Moser
2011-01-26make the next target release 0.6.0, not 0.5.16Scott Moser
2011-01-26update the changelog with other items from development branchScott Moser
2011-01-26cc_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-26add timezone to cloud-config (LP: #645458)Scott Moser
LP: #645458
2011-01-26merge in work form ds-reworkScott Moser
rework of DataSource loading. 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-26rework 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-26import fixes for DataSourceOVFScott Moser
2011-01-26remove needless import and defines in util.pyScott Moser
2011-01-26change 'except' syntax to python 3 style.Scott Moser
Everywhere that there occurred: except Exception, e: changed to except Exception as e:
2011-01-25add get_public_ssh_keys and get_hostname methods to DataSourceOVF.pyScott Moser
2011-01-25add mention of OVF to changelogScott Moser
2011-01-25change version to 0.5.16Scott Moser
2011-01-25add mostly untested but possibly functional DataSourceOVF codeScott Moser
2011-01-25fix typo in doc/ovf/environment.xmlScott Moser
2011-01-25add 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-25drop the suggested support of urlencoded 'userdata' PropertyScott Moser
base64 encoding should be enough for the likely use case of this Product Section property.
2011-01-25- change Properties expected in example environment file.Scott Moser
- add ubuntu-server.ovf that passes validation via: xmllint --nonet --path open-ovf/mainline/schemas/ \ --noout --schema open-ovf/mainline/schemas/ovf-envelope.xsd \ doc/ovf/ubuntu-server.ovf and via ovftool --schemaValidate doc/ovf/ubuntu-server.ovf where ovftool is 'VMware ovftool 2.0.1 (build-260188)
2011-01-25add a stubbed OVF Transport implementation for vmware-guestdScott Moser
2011-01-25add initial ovf data source classScott Moser
2011-01-25remove redundant ProductSection in environment.xmlScott Moser
2011-01-25initial import of ovf codeScott Moser
2011-01-25make final_message run 'per_always' rather than per-instanceScott Moser
2011-01-25make rightscale config default to once-per-instance, not once-everScott Moser
2011-01-25add 'phone_home' to cloud-configScott Moser
2011-01-25add support for posting data to a URL (phone_home)Scott Moser
There is no default configured. Nothing is done by default.
2011-01-25fix bad variable name in readurlScott Moser
2011-01-25add missing urllib import in utilScott Moser
2011-01-25add support for reading rightscale style userdataScott Moser
LP: #668400
2011-01-24add support for redirecting output of cloud-init, cloud-config and cloud-finalScott Moser
minor change to timestamps to all use gmtime()
2011-01-25add support for redirecting output of cloud-init, cloud-config and cloud-finalScott Moser
2011-01-25use timestamp.gmtime() for timestamps rather than time() or datetimeScott Moser
2011-01-24move cloud-run-user-script.conf to cloud-final, use cloud-cfg for invokingScott 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
2011-01-24move cloud-run-user-script.conf to cloud-final, use cloud-cfg for invokingScott 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-24merge in fixes to get to functioning pointScott Moser
2011-01-24cc_update_hostname: fix error handlingScott Moser
2011-01-24cloudinit/__init__: fix get_cpath()Scott Moser
2011-01-24cc_update_hostname: fix bad variable nameScott Moser
2011-01-24cloud-init.py: fix bad variable nameScott Moser
2011-01-24cloudinit/__init__.py: fixes to initfsScott Moser
2011-01-24cloud-init.py: add trailing carriage return to messageScott Moser
2011-01-24add CloudConfig.per-once definitionScott Moser