From eaa59e55c0293df60eb10ae8a8fae77ffcf88f80 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Mon, 26 Nov 2007 18:43:11 +0000 Subject: [PATCH] Autodetect script pick up ibmveth devices provided by VIOS in a Power LPAR. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@75 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-nbroot/overlay/etc/init.d/S10autodetect | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/xCAT-nbroot/overlay/etc/init.d/S10autodetect b/xCAT-nbroot/overlay/etc/init.d/S10autodetect index 148c5cfed..79244f6f2 100755 --- a/xCAT-nbroot/overlay/etc/init.d/S10autodetect +++ b/xCAT-nbroot/overlay/etc/init.d/S10autodetect @@ -63,6 +63,14 @@ do esac fi done +if [ -d /proc/device-tree/vdevice/l-lan* ]; then + modprobe ibmveth + for i in /sys/bus/vio/drivers/ibmveth/*/net*; do + udhcpc -i eth$nic -b + nic=$(($nic + 1)) + done +fi + if [ -d /proc/device-tree/lhea* ]; then modprobe ehea for i in /sys/bus/ibmebus/devices/port*; do