Move IMM support from builder to scripts

Create a fake ifup to fixup IMM network during uxspi execution

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14787 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2013-01-07 19:50:18 +00:00
parent 7adbe1de86
commit db2261cd02
5 changed files with 5 additions and 2 deletions

View File

@ -594,9 +594,7 @@ inst "$moddir/restart" "/bin/restart"
inst "$moddir/dhclient.conf" "/etc/dhclient.conf"
inst "$moddir/dhclient-script" "/sbin/dhclient-script"
inst "$moddir/rsyslog.conf" "/etc/rsyslog.conf"
inst "$moddir/99-imm.rules" "/etc/udev/rules.d/99-imm.rules"
inst "$moddir/98-mlx.rules" "/etc/udev/rules.d/98-mlx.rules"
inst "$moddir/setupimmnic" "/sbin/setupimmnic"
inst "$moddir/loadmlxeth" "/sbin/loadmlxeth"
dracut_install /sbin/rpc.statd /usr/sbin/sm-notify /etc/netconfig rpcbind /etc/host.conf /usr/sbin/rpc.idmapd
dracut_install ps free find #debug

4
xCAT-genesis-scripts/bin/ifup Executable file
View File

@ -0,0 +1,4 @@
if [ "${1%?}" = "usb" ]; then
/sbin/setupimmnic
fi
exit 0

View File

@ -52,6 +52,7 @@ tar jxf %{SOURCE1}
mkdir -p opt/xcat/share/xcat/netboot/genesis/x86_64/
mv xCAT-genesis-scripts opt/xcat/share/xcat/netboot/genesis/x86_64/fs
rm opt/xcat/share/xcat/netboot/genesis/x86_64/fs/*.spec
rm opt/xcat/share/xcat/netboot/genesis/x86_64/fs/LICENSE.html
cd -