summaryrefslogtreecommitdiff
path: root/cloudinit/config/cc_timezone.py
diff options
context:
space:
mode:
Diffstat (limited to 'cloudinit/config/cc_timezone.py')
-rw-r--r--cloudinit/config/cc_timezone.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/cloudinit/config/cc_timezone.py b/cloudinit/config/cc_timezone.py
index b9eb85b2..da195b0a 100644
--- a/cloudinit/config/cc_timezone.py
+++ b/cloudinit/config/cc_timezone.py
@@ -26,6 +26,8 @@ frequency = PER_INSTANCE
def handle(name, cfg, cloud, log, args):
+ if cloud.is_excluded(name):
+ return
if len(args) != 0:
timezone = args[0]
else: