summaryrefslogtreecommitdiff
path: root/setup.py
AgeCommit message (Collapse)Author
2011-01-19add 'cloud-init-query' tool, to query fields from cloud dataScott 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-19move writing of ssh key fingerprints to a separate toolScott 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-19remove write-mime-multipart from setup.pyScott Moser
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.
2010-09-11setup.py: move version to 0.5.15 prior to near releaseScott Moser
2010-08-12fix setup.py to handle directories in docScott Moser
This was causing failure in debian packaging.
2010-08-12setup.py: move to version 0.5.14Scott Moser
2010-08-12initial dump of "sans-cloud" code (DataSourceNoCloud)Scott Moser
The new classes 'DataSourceNoCloud' and 'DataSourceNoCloudNet' implement a way to get data from the filesystem, or (very minimal) data from the kernel command line. This allows the user to seed data to these sources. There are now 2 "cloud-init" jobs, cloud-init-local that runs on mounted MOUNTPOINT=/ and 'cloud-init' that runs on start on (mounted MOUNTPOINT=/ and net-device-up IFACE=eth0 and stopped cloud-init-local ) The idea is that cloud-init-local can actually function without network. The last thing in this commit is "uncloud-init". This tool can be invoked as 'init=/usr/lib/cloud-init/uncloud-init' It will "uncloudify" things in the image, generally making it easier to use for a simpler environment, and then it will exec /sbin/init.
2010-07-21setup.py: move to 0.5.13Scott Moser
2010-06-18move version to 0.5.12Scott Moser
2010-06-17make cloud-config modules configurable by cloud-configScott Moser
The list of cloud-config modules is now kept in cloud config itself. There is a builtin list in cloudinit, which is overrideable by /etc/cloud/cloud.cfg or user data cloud-config. This should make the modules more easily added or removed (as no code needs to be edited now) Basic summary of changes: - move CloudConfig.py -> cloudinit/CloudConfig/__init__.py - split cloud-config modules into their own files named cloudinit/CloudConfig/cc_<name>.py - remove all the upstart/cloud-config-* scripts, replacing them with upstart/cloud-config.conf
2010-06-15add vi modelines to python filesScott Moser
2010-03-26move to 0.5.10Scott Moser
2010-03-08move version to 0.5.9Scott Moser
2010-03-02move setup.py to 0.5.8Scott Moser
2010-03-02replace another 'EC2' string with 'cloud'Scott Moser
2010-02-17update to 0.5.5Scott Moser
2010-02-04more removal of 'ec2init' string, replacement with cloud-initScott Moser
2010-02-03globally remove ec2init and rename to cloudinitScott Moser
2010-01-29remove ec2-is-compat-env and minor changes to setup.pyScott Moser
2010-01-29move etc/ec2-init/templates to etc/cloud/templatesScott Moser
2010-01-28add examples and userdata.txt to docScott Moser
2010-01-22move from ec2init/ec2-config.cfg to cloud/cloud.cfgScott Moser
2010-01-11refactor the config class and jobs to run through cloud-init-cfgScott Moser
At this point, the following should be functional: cloud-init-cfg apt-update-upgrade
2010-01-07remove dead/unused code, call this 0.5.0Scott Moser
2010-01-06put upstart files in upstart/, minor other changesScott Moser
adding cat-cloud-config.conf, a debug file that just cats the config
2010-01-06add cloud-init-run-module and ec2init/execute.pyScott Moser
cloud-init-run-module handles some boilerplate code for running items on a 'frequency'. It has the following usefulness - a config module can be put into ec2init dir and implement a 'run' method that takes a list of arguments and the path to a config file - it handles invoking module.run() only at a given frequency This is similar to karmic's ec2init's "run_once_ever" or run_once_per_ami execute.py is an example module that executes the arguments given to it An example usage in an upstart job would be with a 'exec' line like: exec cloud-init-run-module once_per_ami clean-core execute rm /var/run/core The above would then run the command 'rm /var/run/core' only once
2010-01-05initial re-org, ec2 data source successfully reads from cache if presentScott Moser
2010-01-05ec2-init-user-data is not present, remove it from setup.pyScott Moser
2009-12-14sync karmic and trunkScott Moser
This commit merges lp:~soren/ec2-init/0.5 at rev 67 and lp:ubuntu/lucid at 0.4.999-0ubuntu8
2009-08-26Tag 0.4.999 releaseSoren Hansen
2009-08-25Implement EBS volume mountingSoren Hansen
This can either be invoked by instrumenting the user-data with a mime part with content-type 'text/x-ebs-mount-description' with a body like so: device=/dev/sde:/var/lib/mysql,/etc/alfresco device=/dev/sdf:/other/things or by using the appliance config XML format like so: <appliance> <storage device="/dev/sde"> <path>/var/lib/mysql</path> <path>/etc/alfresco</path> </storage> <storage device="/dev/sdf"> <path>/other/things</path> </appliance> </appliance> In either case, if the volume does not yet have a filesystem, one will be created. For each path that is to live on the volume, a directory is created, and populated with the data currently in the target directory (e.g. /var/lib/mysql is copied to ${ebs_volume_path}/_var_lib_mysql). Once this is done, the directories are bind-mounted to the relevant paths. If the directories in question already exist, they will just be bind-mounted.
2009-08-11Tag 0.4.99 release.Soren Hansen
2009-08-10Tag 0.4.9 release, working towards 0.5.Soren Hansen
2009-08-10Move ec2-config file to top-level.Soren Hansen
2009-08-10Move ec2 init script from debian/ out into top-level.Soren Hansen
Install init-script using distutils. Add -o to dh_installinit call to let it find the init script.
2009-08-10Moved mappings from ec2-set-sources-list to ec2init.Soren Hansen
Moved everything else from ec2-set-sources-list to ec2-set-defaults. Removed call to ec2-set-sources-list from init script. Removed ec2-set-sources-list.
2009-08-10Add new script: ec2-wait-for-meta-data-service.pySoren Hansen
It will wait for around half an hour for the ec2 meta data service to turn up and eventually execute the configured bailout command (if any) if it never shows up. Call this as the first thing in the init script.
2009-06-27Update license to GPLv3 (dropping the "or later" bit).Soren Hansen
Update copyright years. Add copyright and license information to setup.py. Add myself as author of the relevant files.
2009-06-26 * Distutils addedSoren Hansen
* New ec2init python module introduced * Lots and lots of stuff cleaned up and moved to ec2init python module. * Started the move to Boto