diff --git a/tools/init-runonce b/tools/init-runonce
index c28c347c735ce7c29d354742a9736fa33d663a62..30c10c332302d37d1b3f47dc14105fd8708f1f8f 100755
--- a/tools/init-runonce
+++ b/tools/init-runonce
@@ -113,7 +113,7 @@ $KOLLA_OPENSTACK_COMMAND security group rule create --ingress --ethertype IPv4 \
 
 if [ ! -f ~/.ssh/id_rsa.pub ]; then
     echo Generating ssh key.
-    ssh-keygen -t rsa -f ~/.ssh/id_rsa
+    ssh-keygen -t rsa -N '' -f ~/.ssh/id_rsa
 fi
 if [ -r ~/.ssh/id_rsa.pub ]; then
     echo Configuring nova public key and quotas.