network: run setup-ip only on xen frontend interfaces

Fixes QubesOS/qubes-issues#1882
This commit is contained in:
Marek Marczykowski-Górecki 2016-03-29 12:30:26 +02:00
parent 6e8f0e1a61
commit 00698173ed
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -1,2 +1,2 @@
SUBSYSTEMS=="xen", KERNEL=="eth*", ACTION=="add", RUN+="/usr/lib/qubes/setup-ip"
SUBSYSTEMS=="xen", KERNEL=="eth*", ACTION=="add", ENV{ID_NET_DRIVER}=="vif", RUN+="/usr/lib/qubes/setup-ip"