summaryrefslogtreecommitdiff
path: root/cloudinit/config/cc_disk_setup.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2013-10-03 08:46:12 -0400
committerScott Moser <smoser@ubuntu.com>2013-10-03 08:46:12 -0400
commitc3daa2fa160c930084509f4ef5abfbb562b7059d (patch)
tree752e7d2fb4bd99c762e5db3db23d2072dd03fe7e /cloudinit/config/cc_disk_setup.py
parent5bce3c2160e3b1b367e8bf3e33254847f31363b0 (diff)
downloadvyos-cloud-init-c3daa2fa160c930084509f4ef5abfbb562b7059d.tar.gz
vyos-cloud-init-c3daa2fa160c930084509f4ef5abfbb562b7059d.zip
remove verbosity of log.info
Diffstat (limited to 'cloudinit/config/cc_disk_setup.py')
-rw-r--r--cloudinit/config/cc_disk_setup.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/cloudinit/config/cc_disk_setup.py b/cloudinit/config/cc_disk_setup.py
index 4abaf13d..e744cd57 100644
--- a/cloudinit/config/cc_disk_setup.py
+++ b/cloudinit/config/cc_disk_setup.py
@@ -230,7 +230,6 @@ def enumerate_disk(device):
for key, value in value_splitter(part):
d[key.lower()] = value
- LOG.info(d)
yield d
@@ -493,13 +492,11 @@ def purge_disk(device):
# wipe any file systems first
for d in enumerate_disk(device):
- LOG.info(d)
if d['type'] not in ["disk", "crypt"]:
wipefs_cmd = [WIPEFS_CMD, "--all", "/dev/%s" % d['name']]
try:
LOG.info("Purging filesystem on /dev/%s" % d['name'])
util.subp(wipefs_cmd)
- LOG.info("Purged filesystem on /dev/%s" % d['name'])
except Exception as e:
raise Exception("Failed FS purge of /dev/%s" % d['name'])