summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cloudinit/config/cc_growpart.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/config/cc_growpart.py b/cloudinit/config/cc_growpart.py
index b88e6f6a..65679242 100644
--- a/cloudinit/config/cc_growpart.py
+++ b/cloudinit/config/cc_growpart.py
@@ -213,7 +213,7 @@ def handle(name, cfg, _cloud, log, _args):
log.warn("'growpart' in config was not a dict")
return
- mode = mycfg.get('mode')
+ mode = mycfg.get('mode', "auto")
if util.is_false(mode):
log.debug("growpart disabled: mode=%s" % mode)
return