diff options
author | Chad Smith <chad.smith@canonical.com> | 2021-07-14 15:42:53 -0600 |
---|---|---|
committer | Chad Smith <chad.smith@canonical.com> | 2021-07-14 15:42:53 -0600 |
commit | 1ab004aef0f6ff9358a7537051e08203cd47e204 (patch) | |
tree | 0516b9bfc828161c18c3e4a6aa6467c02795e4be | |
parent | 0fb2d7e3b86c3e8b7ed5978af2bdace6a6951021 (diff) | |
download | cloud-init-git-james-hotplug.tar.gz |
NetworkManagerActivator: bring_up_interface needs ifname paramjames-hotplug
-rw-r--r-- | cloudinit/net/activators.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/net/activators.py b/cloudinit/net/activators.py index 095d2e1f..84aaafc9 100644 --- a/cloudinit/net/activators.py +++ b/cloudinit/net/activators.py @@ -135,7 +135,7 @@ class NetworkManagerActivator(NetworkActivator): Return True is successful, otherwise return False """ - cmd = ['nmcli', 'connection', 'up', device_name] + cmd = ['nmcli', 'connection', 'up', 'ifname', device_name] return _alter_interface(cmd, device_name) @staticmethod |