summaryrefslogtreecommitdiffstats
path: root/os-plugins/plugins/xen/init-hooks/10-nw-if-config/xennet.sh
blob: d514b68dcf48b1fc7a1195b8f4f7f170ec603634 (plain) (blame)
1
2
3
4
# load xennet if necessary, usualy within a NFS VM
if grep -q "Xen Virtual Ethernet Card" /etc/hwinfo.netcard-usbctrl; then
  modprobe xennet >/tmp/xennet.log 2>&1
fi