From 5eef154928c75499c545c8c242bcf11d9ccf70d1 Mon Sep 17 00:00:00 2001 From: Joshua Harlow Date: Wed, 19 Sep 2012 16:10:15 -0700 Subject: First thing that we do after we can start importing is to patch the functionality before it gets reimported. --- bin/cloud-init | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bin') diff --git a/bin/cloud-init b/bin/cloud-init index 1f017475..b2a6c3ea 100755 --- a/bin/cloud-init +++ b/bin/cloud-init @@ -33,6 +33,9 @@ possible_topdir = os.path.normpath(os.path.join(os.path.abspath( if os.path.exists(os.path.join(possible_topdir, "cloudinit", "__init__.py")): sys.path.insert(0, possible_topdir) +from cloudinit import patcher +patcher.patch() + from cloudinit import log as logging from cloudinit import netinfo from cloudinit import sources -- cgit v1.2.3