diff --git a/tools/init-runonce b/tools/init-runonce
index c28c347c73..30c10c3323 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.