diff options
| author | Simon Rettberg | 2013-04-02 21:28:53 +0200 |
|---|---|---|
| committer | sr | 2013-04-12 19:11:40 +0200 |
| commit | 6258e8298239fb49e26de7de90e4b616db0523aa (patch) | |
| tree | 6d0f0280f5ff7d9524644812a2764b5ff86663f0 | |
| parent | Make server -s actually sync from remote server using rsync. Currently suppor... (diff) | |
| download | tm-scripts-6258e8298239fb49e26de7de90e4b616db0523aa.tar.gz tm-scripts-6258e8298239fb49e26de7de90e4b616db0523aa.tar.xz tm-scripts-6258e8298239fb49e26de7de90e4b616db0523aa.zip | |
...
| -rwxr-xr-x | mltk | 2 | ||||
| -rwxr-xr-x | server/export_target | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -85,7 +85,7 @@ print_usage() { echo -e " Existing targets for remote are:" echo -e " $(echo $(ls ${ROOT_DIR}/remote/targets 2>/dev/null || echo "No targets for remote found."))" echo -e " Existing targets for server are:" - echo -e " $(echo $(ls ${ROOT_DIR}/server/remote_builds 2>/dev/null || echo "No targets for server found."))" + echo -e "<TODO: Scan mirrored remote machines and the targets they contain>" echo -e "" } diff --git a/server/export_target b/server/export_target index 6ce5838c..fe8dda18 100755 --- a/server/export_target +++ b/server/export_target @@ -50,7 +50,7 @@ sync_remote() { #TODO setup link to remote build directory, later this directory will be rsynced or exported to this server... mkdir -p "${SERVER_BUILD_DIR}" || perror "Could not create directory for local copy of remote system ($SERVER_BUILD_DIR)" - rsync -a -v -e "ssh -oStrictHostKeyChecking=no" "root@$REMOTE_IP:/export/build" "$SERVER_BUILD_DIR" || perror "rsync from 'root@$REMOTE_IP:/export/build' to '$SERVER_BUILD_DIR' failed." + rsync -a -v -e "ssh -oStrictHostKeyChecking=no" "root@$REMOTE_IP:/export/build/*" "$SERVER_BUILD_DIR" || perror "rsync from 'root@$REMOTE_IP:/export/build' to '$SERVER_BUILD_DIR' failed." } generate_stage32() { |
