Comment 1 for bug 739694

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

workaround to use after the instance started:
- apply patch:

=== modified file 'cloudinit/__init__.py'
--- cloudinit/__init__.py 2011-02-07 19:36:33 +0000
+++ cloudinit/__init__.py 2011-03-21 20:18:27 +0000
@@ -363,7 +363,7 @@
         self.handlercount=self.handlercount+1

         # write content to instance's handlerdir
- handlerdir = self.get_ipath("handler")
+ handlerdir = self.get_ipath("handlers")
         modname = 'part-handler-%03d' % self.handlercount
         modfname = modname + ".py"
         util.write_file("%s/%s" % (handlerdir,modfname), payload, 0600)

- rm -Rf /var/lib/cloud/instance*
- reboot