summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2015-07-22 15:14:33 -0400
committerScott Moser <smoser@ubuntu.com>2015-07-22 15:14:33 -0400
commit452ea086beb8b28b41f5ccc610f4e5433010e35b (patch)
tree9a3f7261545b729ea106f2de21b45784037e0b45
parent3aeec2dd6460fbdd3b8f217ad8aa231acb4bfd45 (diff)
downloadvyos-cloud-init-452ea086beb8b28b41f5ccc610f4e5433010e35b.tar.gz
vyos-cloud-init-452ea086beb8b28b41f5ccc610f4e5433010e35b.zip
remove some overly verbose log messages
-rw-r--r--cloudinit/config/cc_disk_setup.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cloudinit/config/cc_disk_setup.py b/cloudinit/config/cc_disk_setup.py
index 92fa7a94..d5b0d1d7 100644
--- a/cloudinit/config/cc_disk_setup.py
+++ b/cloudinit/config/cc_disk_setup.py
@@ -648,7 +648,7 @@ def mkpart(device, definition):
table_type: Which partition table to use, defaults to MBR
device: the device to work on.
"""
- LOG.debug('Ensuring that we have a real device, not a symbolic link')
+ # ensure that we get a real device rather than a symbolic link
device = os.path.realpath(device)
LOG.debug("Checking values for %s definition" % device)
@@ -747,7 +747,7 @@ def mkfs(fs_cfg):
fs_replace = fs_cfg.get('replace_fs', False)
overwrite = fs_cfg.get('overwrite', False)
- LOG.debug('Ensuring that we have a real device, not a symbolic link')
+ # ensure that we get a real device rather than a symbolic link
device = os.path.realpath(device)
# This allows you to define the default ephemeral or swap