summaryrefslogtreecommitdiff
path: root/cloudinit
diff options
context:
space:
mode:
authorDominic Schlegel <dominic.schlegel@hostpoint.ch>2019-10-17 15:00:48 +0000
committerServer Team CI Bot <josh.powers+server-team-bot@canonical.com>2019-10-17 15:00:48 +0000
commita86829d32284ea4842f13035442b1a5127997018 (patch)
tree8ed40ed55e3c50b6e428fb6d1b930cf795efe098 /cloudinit
parent7e699256b319cdf41e747211763e593a6b5f3393 (diff)
downloadvyos-cloud-init-a86829d32284ea4842f13035442b1a5127997018.tar.gz
vyos-cloud-init-a86829d32284ea4842f13035442b1a5127997018.zip
fix some more typos in comments
Diffstat (limited to 'cloudinit')
-rw-r--r--cloudinit/net/__init__.py2
-rw-r--r--cloudinit/sources/DataSourceConfigDrive.py2
-rw-r--r--cloudinit/sources/DataSourceNoCloud.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/cloudinit/net/__init__.py b/cloudinit/net/__init__.py
index 307da780..bd806378 100644
--- a/cloudinit/net/__init__.py
+++ b/cloudinit/net/__init__.py
@@ -389,7 +389,7 @@ def find_fallback_nic(blacklist_drivers=None):
potential_interfaces = possibly_connected
# if eth0 exists use it above anything else, otherwise get the interface
- # that we can read 'first' (using the sorted defintion of first).
+ # that we can read 'first' (using the sorted definition of first).
names = list(sorted(potential_interfaces, key=natural_sort_key))
if DEFAULT_PRIMARY_INTERFACE in names:
names.remove(DEFAULT_PRIMARY_INTERFACE)
diff --git a/cloudinit/sources/DataSourceConfigDrive.py b/cloudinit/sources/DataSourceConfigDrive.py
index 571d30dc..c3627152 100644
--- a/cloudinit/sources/DataSourceConfigDrive.py
+++ b/cloudinit/sources/DataSourceConfigDrive.py
@@ -234,7 +234,7 @@ def find_candidate_devs(probe_optical=True, dslist=None):
config drive v2:
Disk should be:
- * either vfat or iso9660 formated
+ * either vfat or iso9660 formatted
* labeled with 'config-2' or 'CONFIG-2'
"""
if dslist is None:
diff --git a/cloudinit/sources/DataSourceNoCloud.py b/cloudinit/sources/DataSourceNoCloud.py
index 474773d9..ee748b41 100644
--- a/cloudinit/sources/DataSourceNoCloud.py
+++ b/cloudinit/sources/DataSourceNoCloud.py
@@ -266,7 +266,7 @@ def load_cmdline_data(fill, cmdline=None):
("ds=nocloud-net", sources.DSMODE_NETWORK)]
for idstr, dsmode in pairs:
if parse_cmdline_data(idstr, fill, cmdline):
- # if dsmode was explicitly in the commanad line, then
+ # if dsmode was explicitly in the command line, then
# prefer it to the dsmode based on the command line id
if 'dsmode' not in fill:
fill['dsmode'] = dsmode