Commit 6edbd652 authored by Jondy Zhao's avatar Jondy Zhao

add script slapos-cygwin-bootstrip.sh which used

to bootstrip slapos node in the cygwin
parent 395afa7b
...@@ -157,7 +157,7 @@ echo Starting configure slapos network ... ...@@ -157,7 +157,7 @@ echo Starting configure slapos network ...
echo echo
if ! netsh interface ipv6 show interface | grep -q "\\b$slapos_ifname\\b" ; then if ! netsh interface ipv6 show interface | grep -q "\\b$slapos_ifname\\b" ; then
echo Installing slapos network adapter ... echo Installing slapos network adapter ...
ipwin install $WINDIR\\inf\\netloop.inf *msloop re6stnet-lo ipwin install $WINDIR\\inf\\netloop.inf *msloop ${slapos_ifname}
fi fi
ip -4 addr add $(echo ${ipv4_local_network} | sed -e "s%\.0/%.1/%g") dev $slapos_ifname ip -4 addr add $(echo ${ipv4_local_network} | sed -e "s%\.0/%.1/%g") dev $slapos_ifname
# reset_connection $slapos_ifname # reset_connection $slapos_ifname
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment