From b568ade274ba85ba0663b22ec098024c6f15c145 Mon Sep 17 00:00:00 2001 From: Zhijiang Hu Date: Thu, 11 Jan 2018 03:46:02 -0500 Subject: [PATCH] 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 --- backend/kolla/prepare.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/kolla/prepare.sh b/backend/kolla/prepare.sh index 4e623209..8d3056ea 100755 --- a/backend/kolla/prepare.sh +++ b/backend/kolla/prepare.sh @@ -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