summaryrefslogtreecommitdiff
path: root/config
AgeCommit message (Collapse)Author
2011-07-21add chef module to cloud.cfg so it runs as cloud-configScott Moser
2011-06-14run cc_ssh as a cloud-init module so it is guaranteed to run beforeScott Moser
ssh starts (LP: #781101) LP: #781101
2011-03-04add mcollective to cloud.cfgScott Moser
2011-03-03add 'timezone' cloud-config module to cloud.cfgScott Moser
2011-02-17update /etc/hosts hosts.tmpl to if 'manage_etc_hosts' is set in cloud-configScott Moser
LP: #720440
2011-02-17change from yaml+'#include' to yaml + config.d format for cloud.cfgScott Moser
2011-02-07add 'bootcmd' like 'runcmd' to cloud-config syntax for running things earlyScott Moser
2011-01-28add setting of passwords.Scott Moser
2011-01-26improve language in cloud.cfg commentScott Moser
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-25add support for reading rightscale style userdataScott Moser
LP: #668400
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-21add function to cloud-init to run cloud-config style modulesScott Moser
add 'hostname' cloud-config option for setting hostname make rsyslog and resizefs run at cloud-init time
2011-01-20add 'resize_rootfs' cloud-config option.Scott Moser
2011-01-20remove updates check, as its no longer really necessary (LP: #653220)Scott Moser
LP: #653220
2011-01-19add handling of rsyslog in cloud-configScott 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-19make timestamps get recorded to /var/log/cloud-init.log when no syslogScott Moser
2011-01-18move setting of default locale out of cloud-init, into cloud-configScott 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-18remove 'biultin' config, separate cloud.cfgScott Moser
This set of changes makes '/etc/cloud/cloud.cfg' support "#include" and "#opt_include". The idea is to then provide a base configuration and allow distro or local changes that would override that.