summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2013-03-05 18:48:54 +0000
committerScott Moser <smoser@ubuntu.com>2013-03-05 18:48:54 +0000
commit6f31822b60f6878a65a4adb15c1d2b4cc4edc81d (patch)
tree53c52423b584ac8c6e7e065422845ad602bc130b
parent00416dd5cd8f0fb507f64a7f0035fbe706c3f279 (diff)
downloadvyos-cloud-init-6f31822b60f6878a65a4adb15c1d2b4cc4edc81d.tar.gz
vyos-cloud-init-6f31822b60f6878a65a4adb15c1d2b4cc4edc81d.zip
change default mode to 'auto'
-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