summaryrefslogtreecommitdiff
path: root/cloudinit
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2014-10-01 15:32:54 -0400
committerScott Moser <smoser@ubuntu.com>2014-10-01 15:32:54 -0400
commitd5a11b041823ec17e0256a30de580b8f716030cb (patch)
tree9a94670051f829e114d2d67af2bbd8c69a61fdb5 /cloudinit
parentc8b3a21b4e4f5b50767c5df3641a11ad02975e4d (diff)
downloadvyos-cloud-init-d5a11b041823ec17e0256a30de580b8f716030cb.tar.gz
vyos-cloud-init-d5a11b041823ec17e0256a30de580b8f716030cb.zip
fix
Diffstat (limited to 'cloudinit')
-rw-r--r--cloudinit/config/cc_mounts.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/config/cc_mounts.py b/cloudinit/config/cc_mounts.py
index 33fe4ddc..186d6848 100644
--- a/cloudinit/config/cc_mounts.py
+++ b/cloudinit/config/cc_mounts.py
@@ -315,7 +315,7 @@ def handle(_name, cfg, cloud, log, _args):
else:
actlist.append(x)
- swapret = handle_swapcfg(cfg.get('swap'), {})
+ swapret = handle_swapcfg(cfg.get('swap', {}))
if swapret:
actlist.append([swapret[0], "none", "swap", "sw", "0", "0"])