summaryrefslogtreecommitdiff
path: root/cloudinit/cmd
diff options
context:
space:
mode:
authorAndy Liu <andyliuliming@outlook.com>2018-08-24 22:25:37 +0000
committerServer Team CI Bot <josh.powers+server-team-bot@canonical.com>2018-08-24 22:25:37 +0000
commit2320c3de2712c2f320b0d8af4aa129219cc2ad04 (patch)
treee13c9bc0269ae71a4b32ea7eb89053b6362015df /cloudinit/cmd
parentdab59087155d3963849a36b3f63ee662047f708b (diff)
downloadvyos-cloud-init-2320c3de2712c2f320b0d8af4aa129219cc2ad04.tar.gz
vyos-cloud-init-2320c3de2712c2f320b0d8af4aa129219cc2ad04.zip
logging: Add logging config type hyperv for reporting via Azure KVP
Linux guests can provide information to Hyper-V hosts via KVP. KVP allows the guests to provide any string key-value-pairs back to the host's registry. On linux, kvp communication pools are presented as pool files in /var/lib/hyperv/.kvp_pool_#. The following reporting configuration can enable this kvp reporting in addition to default logging if the pool files exist: reporting:     logging:         type: log     telemetry:         type: hyperv
Diffstat (limited to 'cloudinit/cmd')
-rw-r--r--cloudinit/cmd/main.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cloudinit/cmd/main.py b/cloudinit/cmd/main.py
index d6ba90f4..c0edee18 100644
--- a/cloudinit/cmd/main.py
+++ b/cloudinit/cmd/main.py
@@ -315,7 +315,7 @@ def main_init(name, args):
existing = "trust"
init.purge_cache()
- # Delete the non-net file as well
+ # Delete the no-net file as well
util.del_file(os.path.join(path_helper.get_cpath("data"), "no-net"))
# Stage 5
@@ -339,7 +339,7 @@ def main_init(name, args):
" Likely bad things to come!"))
if not args.force:
init.apply_network_config(bring_up=not args.local)
- LOG.debug("[%s] Exiting without datasource in local mode", mode)
+ LOG.debug("[%s] Exiting without datasource", mode)
if mode == sources.DSMODE_LOCAL:
return (None, [])
else: