Update docs

This commit is contained in:
logwang 2017-09-11 11:04:19 +08:00
parent 0f726c99c2
commit d181a8f5a3
2 changed files with 4 additions and 2 deletions

View File

@ -1,3 +1,5 @@
[![Build Status](https://travis-ci.org/F-Stack/f-stack.svg?branch=master)](https://travis-ci.org/F-Stack/f-stack)
# F-Stack # F-Stack
![](F-Stack.png) ![](F-Stack.png)
@ -89,7 +91,7 @@ for more details, see [nginx guide](https://github.com/F-Stack/f-stack/blob/mast
If you don't have another management port, you should execute a script like this. If you don't have another management port, you should execute a script like this.
./start.sh -b /usr/local/nginx_fstack/sbin/nginx -c config.ini /usr/local/nginx_fstack/sbin/nginx
sleep 10 sleep 10
ifconfig veth0 <ipaddr> netmask <netmask>  broadcast <broadcast> hw ether <mac addr> ifconfig veth0 <ipaddr> netmask <netmask>  broadcast <broadcast> hw ether <mac addr>
route add -net 0.0.0.0 gw <gateway> dev veth0 route add -net 0.0.0.0 gw <gateway> dev veth0

View File

@ -77,6 +77,6 @@
/usr/local/nginx_fstack/sbin/nginx /usr/local/nginx_fstack/sbin/nginx
# start kni # start kni
sleep 30 sleep 10
ifconfig veth0 ${myaddr} netmask ${mymask} broadcast ${mybc} hw ether ${myhw} ifconfig veth0 ${myaddr} netmask ${mymask} broadcast ${mybc} hw ether ${myhw}
route add -net 0.0.0.0 gw ${mygw} dev veth0 route add -net 0.0.0.0 gw ${mygw} dev veth0