Simplify the devel/upload script
authorIustin Pop <iustin@google.com>
Tue, 4 Aug 2009 11:38:42 +0000 (13:38 +0200)
committerIustin Pop <iustin@google.com>
Tue, 4 Aug 2009 13:26:54 +0000 (15:26 +0200)
commitc5159571d0319b47232fc385ca56d6a037e46f54
treee36cdd2f0839bcabf6ab8edcfcd6c8967c5a7a27
parente8d563f39195fd6e337c0efd05727cf54d9b1193
Simplify the devel/upload script

Instead of multiple uploads to each node, this script copies everything
as needed to the temporary directory, exactly as to be installed in the
destination machine, then runs only one rsync per host.

This is more dangerous (we can break /etc now), but for development
machines is fine.

The patch then also uploads the bash completions and the current name
for the cron job (I think that ganeti-master-cron is a deprecated name,
not that someone actually intends to upload a file named like that). A
flag --no-cron is added to skip uploading the cron file if desired.

The patch also changes rsync to propagate the file permissions.

Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Makefile.am
devel/upload.in