summaryrefslogtreecommitdiff
path: root/upstart
AgeCommit message (Collapse)Author
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-16make cloud-config an upstart taskScott Moser
2010-06-17fix cloud-config.conf upstart jobScott 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-03-25This runs could-config-mounts on 'filesystem' event rather than onScott Moser
cloud-config. Doing so means the collision that was occuring with upstart/mountall will not occur. However, it also means any mounts configured will not be mounted until later. LP: #527825 LP: #527825
2010-03-02update upstart/* files to be in sync with 0.5.7-0ubuntu4Scott Moser
Some changes were rushed in prior to lucid beta that didn't get pulled back into the upstream release. I'm pulling those in here.
2010-02-19force ru-user-script to wait on cloud-config-miscScott Moser
cloud-config-misc is adding a script to the directory where user-scripts go, so run-user-script has to wait on it.
2010-02-19add the cloud-config-misc upstart jobScott Moser
2010-02-18run cloud-config-puppet later (LP: #523625)Scott Moser
LP: #523625
2010-02-17fix broken user-data scriptsScott Moser
cloud-run-user-script was never running because it depended on 'stopped cloudinit', rather than 'stopped cloud-init'.
2010-02-16Add cloud-config-puppet hook.Mathias Gug
2010-02-04rename cloudinit.conf to cloud-init.confScott Moser
2010-02-04more removal of 'ec2init' string, replacement with cloud-initScott Moser
2010-02-03rename ec2-init to cloudinitScott Moser
2010-02-03globally remove ec2init and rename to cloudinitScott Moser
2010-01-29add the cloud-config-mounts upstart jobScott Moser
2010-01-22rename cloud-config-cat so it wont be packagedScott Moser
2010-01-22add job to disable metadataScott Moser
2010-01-14functional cloud-config-ssh.conf nowScott Moser
This fixes LP: #506599 , LP: #507070 . Also, here, we move config parsing out of the EC2Init class. Instead the parsing of /etc/ec2-init/ec2-init.cfg is now done in the CloudConfig class, and prepended to the cloud-config that comes in from user data. This means that values in user data will over-ride the settings in /etc/ec2-init. Still TODO is support reading the public and private key files from the cloud-config
2010-01-12moving towards getting apt-update-upgrade workingScott 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-112 changes to cloud-run-user-scriptScott Moser
1. arguments to run-parts came before run-parts 2. explicitly state that we dont want this script to run until cloud-config is done
2010-01-11mark cloud-config-cat-debug upstart job as debugScott Moser
2010-01-11make sure all user-scripts get run, and only once-per-instanceScott Moser
run-parts didn't like scripts ending in .sh apparently. the man page says: If neither the --lsbsysinit option nor the --regex option is given then the names must consist entirely of upper and lower case letters, digits, under‐ scores, and hyphens. We dont want to have such a restriction. so run with --regex '.*' Second change is making this run once-per-instance .
2010-01-08pull in chuck's repo at rev 75Scott Moser
bzr+ssh://bazaar.launchpad.net/~zulcss/ec2-init/ec2-init-config/
2010-01-08run later in boot, but more reliablyScott Moser
2010-01-07fix ec2init.conf upstart job to have correct start onScott Moser
2010-01-07functional state now in kvm testsScott Moser
supports user data as mime-multipart and handling types of text/x-shellscript - execute at rc.local text/cloud-config - feed to cloud config text/upstart-job - add to /etc/init as upstart job text/x-include-url - include urls as if they were in-line
2010-01-07get usage of cloud-init-run-module correctScott Moser
2010-01-06add cloud-run-user-script upstart job to run rc.local style scriptsScott 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