Last active
January 4, 2017 09:51
-
-
Save pichuang/0db44675625a2a332d4b038fce0006be to your computer and use it in GitHub Desktop.
OpenNetworkingLinux /mnt/onl/data/rc.boot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
ip addr add 192.168.11.2/24 dev ma1 | |
ip route add default via 192.168.11.254 | |
hostname edgecore-5712 | |
echo "nameserver 168.95.1.1" > /etc/resolvconf/resolv.conf.d/base | |
resolvconf -u |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment