diff options
author | Scott Moser <smoser@brickies.net> | 2017-02-28 17:14:45 -0500 |
---|---|---|
committer | Scott Moser <smoser@brickies.net> | 2017-03-03 01:30:15 -0500 |
commit | ade8c2e0266b020089145075e8236b95c000a3cb (patch) | |
tree | cde54a3e19f354ea6a05831038dff1840327b5fd /cloudinit/helpers.py | |
parent | 33518d7d62493c7d00e3792146399c9572abe915 (diff) | |
download | vyos-cloud-init-ade8c2e0266b020089145075e8236b95c000a3cb.tar.gz vyos-cloud-init-ade8c2e0266b020089145075e8236b95c000a3cb.zip |
Move warning functionality to cloudinit/warnings.py
This moves the warning code that was added specifically for
EC2 into a generic path at cloudinit/warnings.py.
It also adds support for writing warning files into the
warnings directory to be shown by Z99-cloudinit-warnings.sh.
Diffstat (limited to 'cloudinit/helpers.py')
-rw-r--r-- | cloudinit/helpers.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cloudinit/helpers.py b/cloudinit/helpers.py index 38f5f899..7435d58d 100644 --- a/cloudinit/helpers.py +++ b/cloudinit/helpers.py @@ -340,6 +340,7 @@ class Paths(object): "vendordata": "vendor-data.txt.i", "instance_id": ".instance-id", "manual_clean_marker": "manual-clean", + "warnings": "warnings", } # Set when a datasource becomes active self.datasource = ds |