You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: support/azure/virtual-machines/linux/linux-hyperv-issue.md
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -67,15 +67,15 @@ Or
67
67
1. Identify the file that disables the hv_netvsc driver and the corresponding line numbers by running the following command:
68
68
69
69
```bash
70
-
grep -nr "hv_netvsc" /etc/modprobe.d/
70
+
sudo grep -nr "hv_netvsc" /etc/modprobe.d/
71
71
```
72
72
73
73
2. Modify the corresponding file and comment out or delete the hv_netvsc entries:
74
74
75
75
:::image type="content" source="media/linux-hyperv-issue/hv-netvsc-disabled.png" alt-text="Screenshot that shows the possible configuration file contents used to disable network drivers.":::
@@ -154,7 +154,7 @@ If the issue continues even though the Hyper-V network driver is enabled, use on
154
154
7. Generally, a NIC MAC address would only change if a NIC is deleted or added by the administrator or a NIC is updated in the backend. If network configuration via cloud-init isn't desired, and the `apply_network_config` parameter needs to be set to false, delete the */var/lib/cloud/instance/obj.pkl* file and reboot the system.
155
155
156
156
```bash
157
-
# rm /var/lib/cloud/instance/obj.pkl
157
+
sudo rm /var/lib/cloud/instance/obj.pkl
158
158
```
159
159
160
160
8. Once the changes are applied, restart the system.
@@ -213,7 +213,7 @@ If the VM is inaccessible due to other Hyper-V drivers being disabled, use an of
213
213
1. Run the following command to identify the file that disables the hv_utils, hv_vmbus, hv_storvsc, or hv_netvsc driver and the corresponding line number.
2. Modify the corresponding file and comment out or delete the hv_utils, hv_vmbus, hv_storvsc, or hv_netvsc entries. The entries will most commonly be any of the following (or both):
@@ -223,7 +223,7 @@ If the VM is inaccessible due to other Hyper-V drivers being disabled, use an of
223
223
:::image type="content" source="media/linux-hyperv-issue/hv-disabled-example-2.png" alt-text="Screenshot that shows the possible configuration file contents used to disable kernel modules/drivers.":::
224
224
225
225
```bash
226
-
vi /etc/modprobe.d/disable.conf
226
+
sudo vi /etc/modprobe.d/disable.conf
227
227
```
228
228
229
229
> [!IMPORTANT]
@@ -236,13 +236,13 @@ If the VM is inaccessible due to other Hyper-V drivers being disabled, use an of
5. Once the changes are applied, use the `az vm repair restore` command to perform an automatic OS disk swap with the original VM and reboot the system.
0 commit comments