summaryrefslogtreecommitdiff
path: root/debian/68-azure-nm-unmanaged.rules
diff options
context:
space:
mode:
Diffstat (limited to 'debian/68-azure-nm-unmanaged.rules')
-rw-r--r--debian/68-azure-nm-unmanaged.rules4
1 files changed, 4 insertions, 0 deletions
diff --git a/debian/68-azure-nm-unmanaged.rules b/debian/68-azure-nm-unmanaged.rules
new file mode 100644
index 0000000..ce38183
--- /dev/null
+++ b/debian/68-azure-nm-unmanaged.rules
@@ -0,0 +1,4 @@
+# When WALinuxAgent is installed, then don't allow for network-manager
+# to manage the interface.
+#
+ENV{INTERFACE}=="eth[0-9]*", ENV{ID_NET_DRIVER}=="hv_netvsc", ENV{NM_UNMANAGED}="1"