Remove ssh key from Dockerfile.production and add rsa ssh key in run_test.sh
Change-Id: Ibf4291f55598e7ba73a34024d66939e5ddece224
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
diff --git a/Dockerfile.production b/Dockerfile.production
index 714c02f..a81dbbc 100644
--- a/Dockerfile.production
+++ b/Dockerfile.production
@@ -149,6 +149,4 @@
ENV LC_ALL=C.UTF-8
ENV LANG=C.UTF-8
-RUN cat /dev/zero | ssh-keygen -t rsa -q -N "" > /dev/null
-
ENTRYPOINT ["/robot-systest/run_test.sh"]
diff --git a/robot-systest/run_test.sh b/robot-systest/run_test.sh
index ad98d88..67af99d 100755
--- a/robot-systest/run_test.sh
+++ b/robot-systest/run_test.sh
@@ -18,7 +18,7 @@
# limitations under the License.
##
-cat /dev/zero | ssh-keygen -q -N "" > /dev/null
+cat /dev/zero | ssh-keygen -t rsa -q -N "" > /dev/null
install_osmclient(){
echo -e "\nInstalling osmclient ${OSMCLIENT}"