Commit dccbb3f6 authored by Jondy Zhao's avatar Jondy Zhao

slapos-config: change the first ipv4 address of re6stnet-lo

parent f9264415
......@@ -159,7 +159,7 @@ if ! netsh interface ipv6 show interface | grep -q "\\b$slapos_ifname\\b" ; then
echo Installing slapos network adapter ...
ipwin install $WINDIR\\inf\\netloop.inf *msloop re6stnet-lo
fi
ip -4 addr add $ipv4_local_network dev $slapos_ifname
ip -4 addr add $(echo ${ipv4_local_network} | sed -e "s%\.0/%.1/%g") dev $slapos_ifname
# reset_connection $slapos_ifname
echo
echo Configure slapos network OK.
......
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