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

Side by Side Diff: mod_for_test_scripts/350addTestAuthKeys

Issue 5138001: Remove obsolete files. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/installer.git
Patch Set: Created 10 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « mod_for_test_scripts/300changePassword ('k') | mod_for_test_scripts/400modifyUpstart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/bin/bash
2
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
5 # found in the LICENSE file.
6 #
7 # Copy public keys to root's homedir for ssh pubkey auth, which
8 # is necessary for test automation.
9
10 echo "Copying public keys and changing PATH for ssh clients"
11
12 KEYS_DIR=/usr/share/chromeos-installer/mod_for_test_scripts/ssh_keys
13 mkdir -p ${ROOT_FS_DIR}/root/.ssh
14 ROOT_AUTHKEYS=${ROOT_FS_DIR}/root/.ssh/authorized_keys
15 cat ${KEYS_DIR}/*.pub >> ${ROOT_AUTHKEYS}
16
17 # Environment on test machines for su and ssh now set to include
18 touch ${ROOT_FS_DIR}/etc/environment
19 echo "PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin" \
20 >> "${ROOT_FS_DIR}/etc/environment"
OLDNEW
« no previous file with comments | « mod_for_test_scripts/300changePassword ('k') | mod_for_test_scripts/400modifyUpstart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698