summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2011-01-24make the module list that cloud-config selects specified via cmdlineScott Moser
instead of hard-coding in cloud-init-cfg the module list that should be read, read it from the second command line argument. Basically, instead of reading 'cloud_config_modules', specify 'cloud_config' when cloud-init-cfg is run. change the upstart job to invoke cloud-init-cfg with: exec cloud-init-cfg all cloud_config rather than exec cloud-init-cfg all
2011-01-24fix cloud-run-user-script for directory change, make it invoke other scriptsScott Moser
Now, in addition to running instance specific scripts (in runcmd or user-data scripts), cloud-run-user-script will run other directories also. All under /var/lib/cloud, and in the following order: scripts/per-once [once ever] scripts/per-boot [every boot] scripts/per-instance [once per instance] instance/scripts [once per instance] At the moment, the marker is on the entire directory, so changes to that directory. Changes to the contents of the directory will not be noticed.
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-21cc_locale: fix copy paste code error if args are givenScott Moser
2011-01-20add 'resize_rootfs' cloud-config option.Scott Moser
2011-01-20TODO: add need to rewrite cloud-init-querScott Moser
2011-01-20remove updates check, as its no longer really necessary (LP: #653220)Scott Moser
LP: #653220
2011-01-20update changelog (/var/log rework)Scott Moser
2011-01-20support configuration of what is the default log fileScott 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-20add caching of parsed configs to util.get_base_cfgScott 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-20add TODO and ChangeLogScott Moser
2011-01-19add 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-19do not use 'str' as a variable nameScott Moser
2011-01-19pull in the rework of /var/lib/cloud.Scott Moser
- /var/lib/cloud is redesigned, and its layout now described in doc/var-lib-cloud.txt. The big plus point of this was to get instance specific data into /var/lib/cloud/instances, so that data could easily be purged. A symlink /var/lib/cloud/instance -> /var/lib/cloud/instances/<current_id> is maintained. - Also, now run scripts in /var/lib/cloud/scripts/ per-once per-boot per-instance - bugs addressed: - LP: #704509
2011-01-19fix bug in get_cpathScott Moser
2011-01-19add 'data' entry in pathmap and move get_cpath to a static functionScott Moser
2011-01-19write the previous-hostname file to persistent cloud/dataScott Moser
This change just uses a different facility for coming up with the path. But, by design I'm chosing to put 'previous-hostname' in /var/lib/cloud/data/ rather than in /var/lib/cloud/instance/data/ The idea is that if the user: - started an instance - modified /etc/hostname - bundled instance (or create-image from it) - started new instance They would expect their modified /etc/hostname to persist. As such, the previous-hostname file should be cross-instance data. Bugs in this area include LP: #596993 and LP: #514492
2011-01-19make scripts sub-dirs for per-<item>Scott Moser
2011-01-19convert 'cachedir' to 'seeddir', move cloud_config, scripts to instanceScott Moser
- cloud_config and scripts now live in instance directory - cachedir is now more correctly named 'seeddir'
2011-01-19move cache to instance specific dirScott Moser
2011-01-19improve log message on failure of initfs. run on both start-local and startScott Moser
2011-01-19move boothooks and user-data into instance dirScott Moser