Solve Invalid argument error when running sysctl command
This PS solve the following warning when executing prepare.sh. sysctl: setting key "net.ipv4.ip_local_port_range": Invalid argument Change-Id: I393980a9d4445b98dced65639f3004ecf379dddd Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
This commit is contained in:
parent
7bd83aa4aa
commit
b568ade274
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user