Merge "Solve Invalid argument error when running sysctl command"

This commit is contained in:
Zuul 2018-01-15 06:05:51 +00:00 committed by Gerrit Code Review
commit 921f2544cf
1 changed files with 1 additions and 1 deletions

View File

@ -54,5 +54,5 @@ docker load < $prepare_dir/registry-server.tar
#enlarge the TCP source port range to deal with functest thousands requests
sudo sysctl net.ipv4.ip_local_port_range="5000 65000"
echo -e "net.ipv4.ip_local_port_range='5000 65000'" >> /etc/sysctl.conf
echo -e "net.ipv4.ip_local_port_range= 5000 65000" >> /etc/sysctl.conf