diff options
author | Scott Moser <smoser@ubuntu.com> | 2011-03-21 16:24:52 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2011-03-21 16:24:52 -0400 |
commit | 46631c678531500ff5685644874a1ae56ac90055 (patch) | |
tree | 141c15ede0ff3d828152e5bf7a8f3d66cb487dd1 /cloudinit/__init__.py | |
parent | de41d1f3141efce0ea01b5c04f36f3703cff1c30 (diff) | |
download | vyos-cloud-init-46631c678531500ff5685644874a1ae56ac90055.tar.gz vyos-cloud-init-46631c678531500ff5685644874a1ae56ac90055.zip |
fix bug in part-handler code, that broke working part-handlers (LP: #739694)
LP: #739694
Diffstat (limited to 'cloudinit/__init__.py')
-rw-r--r-- | cloudinit/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/__init__.py b/cloudinit/__init__.py index 7fc919fa..24e12d08 100644 --- a/cloudinit/__init__.py +++ b/cloudinit/__init__.py @@ -363,7 +363,7 @@ class CloudInit: 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) |