diff options
-rw-r--r-- | cloudinit/net/__init__.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cloudinit/net/__init__.py b/cloudinit/net/__init__.py index fa5a0033..31544fd8 100644 --- a/cloudinit/net/__init__.py +++ b/cloudinit/net/__init__.py @@ -513,15 +513,15 @@ def iface_start_entry(iface, index): fullname = iface['name'] if index != 0: fullname += ":%s" % index - + control = iface['control'] if control == "auto": cverb = "auto" elif control in ("hotplug",): cverb = "allow-" + control - else: + else: cverb = "# control-" + control - + subst = iface.copy() subst.update({'fullname': fullname, 'cverb': cverb}) |