summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2014-10-01 15:37:51 -0400
committerScott Moser <smoser@ubuntu.com>2014-10-01 15:37:51 -0400
commita451caaf7128f8415ec33ab9aebcad61243d2dc8 (patch)
tree3968806512ddb9ae349991a0010d8ebc89874787
parent93e5b85dd980ba871155ec30f7cadae2723ab128 (diff)
downloadvyos-cloud-init-a451caaf7128f8415ec33ab9aebcad61243d2dc8.tar.gz
vyos-cloud-init-a451caaf7128f8415ec33ab9aebcad61243d2dc8.zip
message clean up
-rw-r--r--cloudinit/config/cc_mounts.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/cloudinit/config/cc_mounts.py b/cloudinit/config/cc_mounts.py
index 24c5d24d..e0d047d6 100644
--- a/cloudinit/config/cc_mounts.py
+++ b/cloudinit/config/cc_mounts.py
@@ -208,8 +208,9 @@ def handle_swapcfg(swapcfg):
try:
for line in util.load_file("/proc/swaps").splitlines():
if line.startswith(fname + " "):
- LOG.debug("swap file %s already used", fname)
+ LOG.debug("swap file %s already in use.", fname)
return
+ LOG.debug("swap file %s existed, but not in /proc/swaps", fname)
except:
LOG.warn("swap file %s existed. Error reading /proc/swaps", fname)
return