2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-17 03:40:39 +00:00
Files
xcat-core/xCAT-SoftLayer/postscripts/setdefaultroute
2014-03-17 06:52:35 -04:00

7 lines
135 B
Bash
Executable File

#!/bin/bash
# set the default route of the node to the ip address and nic passed in
set -x
ip route replace to default via $1 dev $2