summaryrefslogtreecommitdiff
path: root/cloudinit
diff options
context:
space:
mode:
authorDaniel Watkins <oddbloke@ubuntu.com>2020-03-19 12:13:28 -0400
committerGitHub <noreply@github.com>2020-03-19 12:13:28 -0400
commit877cafd8363a49b85d6f659d4ddaa296c8cee504 (patch)
treed6d0d99398f4a7b7d8978f6fee28836c12f553ce /cloudinit
parentade47866aa2f81ab0f3baabbb1fc1e484abdb741 (diff)
downloadvyos-cloud-init-877cafd8363a49b85d6f659d4ddaa296c8cee504.tar.gz
vyos-cloud-init-877cafd8363a49b85d6f659d4ddaa296c8cee504.zip
DataSourceOracle: update .network_config docstring (#257)
Bring it into line with the current state of the code (by dropping the now-untrue caveat).
Diffstat (limited to 'cloudinit')
-rw-r--r--cloudinit/sources/DataSourceOracle.py10
1 files changed, 2 insertions, 8 deletions
diff --git a/cloudinit/sources/DataSourceOracle.py b/cloudinit/sources/DataSourceOracle.py
index eec87403..83fcfc16 100644
--- a/cloudinit/sources/DataSourceOracle.py
+++ b/cloudinit/sources/DataSourceOracle.py
@@ -248,15 +248,9 @@ class DataSourceOracle(sources.DataSource):
@property
def network_config(self):
"""Network config is read from initramfs provided files
- If none is present, then we fall back to fallback configuration.
-
- One thing to note here is that this method is not currently
- considered at all if there is is kernel/initramfs provided
- data. In that case, stages considers that the cmdline data
- overrides datasource provided data and does not consult here.
- We nonetheless return cmdline provided config if present
- and fallback to generate fallback."""
+ If none is present, then we fall back to fallback configuration.
+ """
if self._network_config == sources.UNSET:
# this is v1
self._network_config = cmdline.read_initramfs_config()