Fix xCAT-genesis (current gen) to survive recent UXSPI changes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14789 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
2103d84119
commit
dd365bf0a2
4
xCAT-nbroot2/ifup
Executable file
4
xCAT-nbroot2/ifup
Executable file
@ -0,0 +1,4 @@
|
||||
if [ "${1%?}" = "usb" ]; then
|
||||
/sbin/setupimmnic
|
||||
fi
|
||||
exit 0
|
@ -609,6 +609,7 @@ 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/ifup" "/bin/ifup"
|
||||
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
|
||||
|
@ -1,3 +1,4 @@
|
||||
#!/bin/sh
|
||||
/sbin/ip link set usb0 up
|
||||
/sbin/ip addr add dev usb0 169.254.95.120/16
|
||||
/sbin/ip addr add dev usb0 169.254.95.120/24
|
||||
/sbin/ip route add 169.254.95.120/24 dev usb0
|
||||
|
Loading…
Reference in New Issue
Block a user