[Bug 739694] Re: KeyError: 'handler'
Andreas Hasenack
andreas at canonical.com
Mon Mar 21 20:29:44 UTC 2011
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
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-init in ubuntu.
https://bugs.launchpad.net/bugs/739694
Title:
KeyError: 'handler'
More information about the Ubuntu-server-bugs
mailing list