distro/rhel86: ignore SRIOV interface via new udev rule on azure-rhui
Add a new udev rule that ignores the SRIOV network interface. See the supplied comment for details why.
This commit is contained in:
parent
9d5787a475
commit
5983c295b3
5 changed files with 157 additions and 17 deletions
|
|
@ -2864,6 +2864,46 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.udev.rules",
|
||||
"options": {
|
||||
"filename": "/etc/udev/rules.d/68-azure-sriov-nm-unmanaged.rules",
|
||||
"rules": [
|
||||
{
|
||||
"comment": [
|
||||
"Accelerated Networking on Azure exposes a new SRIOV interface to the VM.",
|
||||
"This interface is transparently bonded to the synthetic interface,",
|
||||
"so NetworkManager should just ignore any SRIOV interfaces."
|
||||
]
|
||||
},
|
||||
[
|
||||
{
|
||||
"key": "SUBSYSTEM",
|
||||
"op": "==",
|
||||
"val": "net"
|
||||
},
|
||||
{
|
||||
"key": "DRIVERS",
|
||||
"op": "==",
|
||||
"val": "hv_pci"
|
||||
},
|
||||
{
|
||||
"key": "ACTION",
|
||||
"op": "==",
|
||||
"val": "add"
|
||||
},
|
||||
{
|
||||
"key": {
|
||||
"name": "ENV",
|
||||
"arg": "NM_UNMANAGED"
|
||||
},
|
||||
"op": "=",
|
||||
"val": "1"
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.fstab",
|
||||
"options": {
|
||||
|
|
|
|||
|
|
@ -2876,6 +2876,46 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.udev.rules",
|
||||
"options": {
|
||||
"filename": "/etc/udev/rules.d/68-azure-sriov-nm-unmanaged.rules",
|
||||
"rules": [
|
||||
{
|
||||
"comment": [
|
||||
"Accelerated Networking on Azure exposes a new SRIOV interface to the VM.",
|
||||
"This interface is transparently bonded to the synthetic interface,",
|
||||
"so NetworkManager should just ignore any SRIOV interfaces."
|
||||
]
|
||||
},
|
||||
[
|
||||
{
|
||||
"key": "SUBSYSTEM",
|
||||
"op": "==",
|
||||
"val": "net"
|
||||
},
|
||||
{
|
||||
"key": "DRIVERS",
|
||||
"op": "==",
|
||||
"val": "hv_pci"
|
||||
},
|
||||
{
|
||||
"key": "ACTION",
|
||||
"op": "==",
|
||||
"val": "add"
|
||||
},
|
||||
{
|
||||
"key": {
|
||||
"name": "ENV",
|
||||
"arg": "NM_UNMANAGED"
|
||||
},
|
||||
"op": "=",
|
||||
"val": "1"
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.fstab",
|
||||
"options": {
|
||||
|
|
|
|||
|
|
@ -2876,6 +2876,46 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.udev.rules",
|
||||
"options": {
|
||||
"filename": "/etc/udev/rules.d/68-azure-sriov-nm-unmanaged.rules",
|
||||
"rules": [
|
||||
{
|
||||
"comment": [
|
||||
"Accelerated Networking on Azure exposes a new SRIOV interface to the VM.",
|
||||
"This interface is transparently bonded to the synthetic interface,",
|
||||
"so NetworkManager should just ignore any SRIOV interfaces."
|
||||
]
|
||||
},
|
||||
[
|
||||
{
|
||||
"key": "SUBSYSTEM",
|
||||
"op": "==",
|
||||
"val": "net"
|
||||
},
|
||||
{
|
||||
"key": "DRIVERS",
|
||||
"op": "==",
|
||||
"val": "hv_pci"
|
||||
},
|
||||
{
|
||||
"key": "ACTION",
|
||||
"op": "==",
|
||||
"val": "add"
|
||||
},
|
||||
{
|
||||
"key": {
|
||||
"name": "ENV",
|
||||
"arg": "NM_UNMANAGED"
|
||||
},
|
||||
"op": "=",
|
||||
"val": "1"
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.fstab",
|
||||
"options": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue