Skip to content

Commit c51aec0

Browse files
authored
Update the recommended udev rules for Linux
1 parent d3b16a8 commit c51aec0

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

articles/virtual-network/accelerated-networking-overview.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -109,12 +109,11 @@ Images with cloud-init version 19.4 or later have networking correctly configure
109109
The following example shows a sample configuration drop-in for `NetworkManager` on RHEL or CentOS:
110110

111111
```bash
112-
sudo mkdir -p /etc/NetworkManager/conf.d
113-
sudo cat > /etc/NetworkManager/conf.d/99-azure-unmanaged-devices.conf <<EOF
114-
# Ignore SR-IOV interface on Azure, since it's transparently bonded
115-
# to the synthetic interface
116-
[keyfile]
117-
unmanaged-devices=driver:mlx4_core;driver:mlx5_core
112+
sudo cat <<EOF>> /etc/udev/rules.d/68-azure-sriov-nm-unmanaged.rules
113+
# Accelerated Networking on Azure exposes a new SRIOV interface to the VM.
114+
# This interface is transparentlybonded to the synthetic interface,
115+
# so NetworkManager should just ignore any SRIOV interfaces.
116+
SUBSYSTEM=="net", DRIVERS=="hv_pci", ACTION!="remove", ENV{NM_UNMANAGED}="1"
118117
EOF
119118
```
120119

0 commit comments

Comments
 (0)