From 54346d35221fd405423dd33a2b06202f10e2aa22 Mon Sep 17 00:00:00 2001 From: Scott Moser Date: Thu, 12 Aug 2010 01:56:12 -0400 Subject: initial dump of "sans-cloud" code (DataSourceNoCloud) 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. --- setup.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 017a350e..6f4da2b7 100755 --- a/setup.py +++ b/setup.py @@ -38,6 +38,8 @@ setup(name='cloud-init', ('/etc/cloud/templates', glob('templates/*')), ('/etc/init', glob('upstart/*.conf')), ('/usr/share/cloud-init', []), + ('/usr/lib/cloud-init', + ['tools/uncloud-init','tools/write-mime-multipart']), ('/usr/share/doc/cloud-init', glob('doc/*.txt')), ('/usr/share/doc/cloud-init/examples', glob('doc/examples/*')), ], -- cgit v1.2.3