Commit f404c05d authored by Jondy Zhao's avatar Jondy Zhao

Fix regular expression error in slapos-include

parent 715483ca
......@@ -422,7 +422,7 @@ function create_slapos_webrunner_instance()
if [[ -n "${_re6stnet_ipv6}" ]] ; then
echo "Re6stnet address in this computer: ${_re6stnet_ipv6}"
netsh interface ipv6 show addr $slapos_ifname level=normal | \
grep -q "${_re6stnet_ipv6}$$" || \
grep -q "${_re6stnet_ipv6}\$" || \
netsh interface ipv6 add addr $slapos_ifname ${_re6stnet_ipv6}
fi
fi
......
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