Skip to content

Commit

Permalink
NetworkManagerActivator: bring_up_interface needs ifname param
Browse files Browse the repository at this point in the history
  • Loading branch information
blackboxsw committed Jul 14, 2021
1 parent 0fb2d7e commit 1ab004a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cloudinit/net/activators.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def bring_up_interface(device_name: str) -> bool:
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
Expand Down

0 comments on commit 1ab004a

Please sign in to comment.