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

slapos-cygwin-bootstrap: remove WINDIR

parent 8732f735
...@@ -136,7 +136,7 @@ echo "" ...@@ -136,7 +136,7 @@ echo ""
csih_inform "Starting configure slapos network ..." csih_inform "Starting configure slapos network ..."
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
csih_inform "Installing network interface ${slapos_ifname} ..." csih_inform "Installing network interface ${slapos_ifname} ..."
ipwin install $WINDIR\\inf\\netloop.inf *msloop ${slapos_ifname} || ipwin install netloop.inf *msloop ${slapos_ifname} ||
csih_error "install network interface ${slapos_ifname} failed" csih_error "install network interface ${slapos_ifname} failed"
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} ||
......
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