summaryrefslogtreecommitdiff
path: root/cloudinit/config/cc_resizefs.py
diff options
context:
space:
mode:
Diffstat (limited to 'cloudinit/config/cc_resizefs.py')
-rw-r--r--cloudinit/config/cc_resizefs.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/cloudinit/config/cc_resizefs.py b/cloudinit/config/cc_resizefs.py
index 56040fdd..73a9217a 100644
--- a/cloudinit/config/cc_resizefs.py
+++ b/cloudinit/config/cc_resizefs.py
@@ -52,6 +52,8 @@ NOBLOCK = "noblock"
def handle(name, cfg, _cloud, log, args):
+ if _cloud.is_excluded(name):
+ return
if len(args) != 0:
resize_root = args[0]
else: