Skip to content

Commit ba1e5fd

Browse files
authored
fix action
1 parent 93749b9 commit ba1e5fd

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

articles/virtual-machines/linux/redhat-create-upload-vhd.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ This section assumes that you've already obtained an ISO file from the Red Hat w
219219
# Accelerated Networking on Azure exposes a new SRIOV interface to the VM.
220220
# This interface is transparentlybonded to the synthetic interface,
221221
# so NetworkManager should just ignore any SRIOV interfaces.
222-
SUBSYSTEM=="net", DRIVERS=="hv_pci", ACTION=="add", ENV{NM_UNMANAGED}="1"
222+
SUBSYSTEM=="net", DRIVERS=="hv_pci", ACTION="add", ENV{NM_UNMANAGED}="1"
223223
EOF
224224
```
225225
1. Ensure that the network service starts at boot time:
@@ -426,7 +426,7 @@ This section assumes that you've already obtained an ISO file from the Red Hat w
426426
# Accelerated Networking on Azure exposes a new SRIOV interface to the VM.
427427
# This interface is transparentlybonded to the synthetic interface,
428428
# so NetworkManager should just ignore any SRIOV interfaces.
429-
SUBSYSTEM=="net", DRIVERS=="hv_pci", ACTION=="add", ENV{NM_UNMANAGED}="1"
429+
SUBSYSTEM=="net", DRIVERS=="hv_pci", ACTION!="remove", ENV{NM_UNMANAGED}="1"
430430
EOF
431431
```
432432
1. Register your Red Hat subscription to enable the installation of packages from the RHEL repository:
@@ -670,7 +670,7 @@ This section shows you how to use KVM to prepare a [RHEL 6](#rhel-6-using-kvm) o
670670
# Accelerated Networking on Azure exposes a new SRIOV interface to the VM.
671671
# This interface is transparently bonded to the synthetic interface,
672672
# so NetworkManager should just ignore any SRIOV interfaces.
673-
SUBSYSTEM=="net", DRIVERS=="hv_pci", ACTION=="add", ENV{NM_UNMANAGED}="1"
673+
SUBSYSTEM=="net", DRIVERS=="hv_pci", ACTION!="remove", ENV{NM_UNMANAGED}="1"
674674
EOF
675675
```
676676
@@ -870,7 +870,7 @@ This section shows you how to use KVM to prepare a [RHEL 6](#rhel-6-using-kvm) o
870870
# Accelerated Networking on Azure exposes a new SRIOV interface to the VM.
871871
# This interface is transparentlybonded to the synthetic interface,
872872
# so NetworkManager should just ignore any SRIOV interfaces.
873-
SUBSYSTEM=="net", DRIVERS=="hv_pci", ACTION=="add", ENV{NM_UNMANAGED}="1"
873+
SUBSYSTEM=="net", DRIVERS=="hv_pci", ACTION!="remove", ENV{NM_UNMANAGED}="1"
874874
EOF
875875
```
876876
1. Ensure that the network service starts at boot time:
@@ -1068,7 +1068,7 @@ This section assumes that you've already installed a RHEL VM in VMware. For info
10681068
# Accelerated Networking on Azure exposes a new SRIOV interface to the VM.
10691069
# This interface is transparently bonded to the synthetic interface,
10701070
# so NetworkManager should just ignore any SRIOV interfaces.
1071-
SUBSYSTEM=="net", DRIVERS=="hv_pci", ACTION=="add", ENV{NM_UNMANAGED}="1"
1071+
SUBSYSTEM=="net", DRIVERS=="hv_pci", ACTION!="remove", ENV{NM_UNMANAGED}="1"
10721072
EOF
10731073
```
10741074
@@ -1228,7 +1228,7 @@ This section assumes that you've already installed a RHEL VM in VMware. For info
12281228
# Accelerated Networking on Azure exposes a new SRIOV interface to the VM.
12291229
# This interface is transparentlybonded to the synthetic interface,
12301230
# so NetworkManager should just ignore any SRIOV interfaces.
1231-
SUBSYSTEM=="net", DRIVERS=="hv_pci", ACTION=="add", ENV{NM_UNMANAGED}="1"
1231+
SUBSYSTEM=="net", DRIVERS=="hv_pci", ACTION!="remove", ENV{NM_UNMANAGED}="1"
12321232
EOF
12331233
```
12341234
1. Ensure that the network service starts at boot time:
@@ -1505,7 +1505,7 @@ This section shows you how to prepare a RHEL 7 distro from an ISO by using a kic
15051505
# Accelerated Networking on Azure exposes a new SRIOV interface to the VM.
15061506
# This interface is transparentlybonded to the synthetic interface,
15071507
# so NetworkManager should just ignore any SRIOV interfaces.
1508-
SUBSYSTEM=="net", DRIVERS=="hv_pci", ACTION=="add", ENV{NM_UNMANAGED}="1"
1508+
SUBSYSTEM=="net", DRIVERS=="hv_pci", ACTION!="remove", ENV{NM_UNMANAGED}="1"
15091509
EOF
15101510
15111511
# Deprovision and prepare for Azure if you are creating a generalized image

0 commit comments

Comments
 (0)