Steven Hardy da2ae01
diff -uNr cloud-init.orig/cloudinit/config/cc_keys_to_console.py cloud-init/cloudinit/config/cc_keys_to_console.py
Steven Hardy da2ae01
--- cloud-init.orig/cloudinit/config/cc_keys_to_console.py	2013-04-12 14:03:11.049761648 +0100
Steven Hardy da2ae01
+++ cloud-init/cloudinit/config/cc_keys_to_console.py	2013-04-12 14:13:09.660280218 +0100
Steven Hardy da2ae01
@@ -26,7 +26,7 @@
0dcf658
 frequency = PER_INSTANCE
0dcf658
 
0dcf658
 # This is a tool that cloud init provides
0dcf658
-HELPER_TOOL = '/usr/lib/cloud-init/write-ssh-key-fingerprints'
0dcf658
+HELPER_TOOL = '/usr/libexec/cloud-init/write-ssh-key-fingerprints'
0dcf658
 
0dcf658
 
0dcf658
 def handle(name, cfg, _cloud, log, _args):
Steven Hardy da2ae01
diff -uNr cloud-init.orig/setup.py cloud-init/setup.py
Steven Hardy da2ae01
--- cloud-init.orig/setup.py	2013-04-12 14:03:11.052761671 +0100
Steven Hardy da2ae01
+++ cloud-init/setup.py	2013-04-12 14:08:12.828042068 +0100
Steven Hardy da2ae01
@@ -45,7 +45,7 @@
0dcf658
 INITSYS_ROOTS = {
0dcf658
     'sysvinit': '/etc/rc.d/init.d',
Steven Hardy da2ae01
     'sysvinit_deb': '/etc/init.d',
0dcf658
-    'systemd': '/etc/systemd/system/',
0dcf658
+    'systemd': '/usr/lib/systemd/system/',
0dcf658
     'upstart': '/etc/init/',
0dcf658
 }
0dcf658
 INITSYS_TYPES = sorted(list(INITSYS_ROOTS.keys()))
Steven Hardy da2ae01
@@ -123,7 +123,7 @@
0dcf658
                   ('/etc/cloud/cloud.cfg.d', glob('config/cloud.cfg.d/*')),
0dcf658
                   ('/etc/cloud/templates', glob('templates/*')),
0dcf658
                   ('/usr/share/cloud-init', []),
0dcf658
-                  ('/usr/lib/cloud-init',
0dcf658
+                  ('/usr/libexec/cloud-init',
0dcf658
                     ['tools/uncloud-init',
0dcf658
                      'tools/write-ssh-key-fingerprints']),
0dcf658
                   ('/usr/share/doc/cloud-init',