]> xenbits.xensource.com Git - xentesttools/bootstrap.git/commitdiff
print out only ssh key if it was generated automatically.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 7 Feb 2011 23:15:42 +0000 (18:15 -0500)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 7 Feb 2011 23:15:42 +0000 (18:15 -0500)
root_image/tools/ssh_support/sshd_server

index 15c002abccb1bcf775cd84aa7db559c6d57ce8a8..40ee6303052b78eccd55fabbe52f17c6dcf9f3b3 100755 (executable)
@@ -181,7 +181,9 @@ start_ssh()
                        echo "    SSH started [$sshd_pid]"
                fi
                echo ''
-               echo "        passwd = $new_root_passwd"
+               if [ -z "$DEVELOPER_FIXED_SSH_PASSWD" ]; then
+                       echo "        passwd = $new_root_passwd"
+               fi
        else
                do_stop_ssh