Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(154)

Side by Side Diff: src/scripts/mod_for_test_scripts/350addTestAuthKeys

Issue 661203: Modify scripts to be more informative and add autox/autologin for build script (Closed)
Patch Set: Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 2
3 # Copyright (c) 2009 The Chromium OS Authors. All rights reserved. 3 # Copyright (c) 2009 The Chromium OS Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 # 6 #
7 # Copy public keys to root's homedir for ssh pubkey auth, which 7 # Copy public keys to root's homedir for ssh pubkey auth, which
8 # is necessary for test automation. 8 # is necessary for test automation.
9 9
10 echo "Copying public keys"
11
10 KEYS_DIR=ssh_keys 12 KEYS_DIR=ssh_keys
11 ROOT_AUTHKEYS=/root/.ssh/authorized_keys 13 ROOT_AUTHKEYS=/root/.ssh/authorized_keys
12 14
13 mkdir -p /root/.ssh 15 mkdir -p /root/.ssh
14 cat ${KEYS_DIR}/*.pub >> ${ROOT_AUTHKEYS} 16 cat ${KEYS_DIR}/*.pub >> ${ROOT_AUTHKEYS}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698