History | View | Annotate | Download (2.6 kB)
upload: Use more compatible regular expression
Signed-off-by: Michael Hanselmann <hansmi@google.com>Reviewed-by: Luca Bigliardi <shammash@google.com>
devel/upload: Build in parallel
Signed-off-by: Michael Hanselmann <hansmi@google.com>Reviewed-by: Olivier Tharan <olive@google.com>
devel/upload: revert rsync -p
The permissions replications also will change the permissions on the /and /usr directories, which is bad. This reverts it to the originalbehaviour.
Signed-off-by: Iustin Pop <iustin@google.com>Reviewed-by: Michael Hanselmann <hansmi@google.com>
Simplify the devel/upload script
Instead of multiple uploads to each node, this script copies everythingas needed to the temporary directory, exactly as to be installed in thedestination machine, then runs only one rsync per host.
This is more dangerous (we can break /etc now), but for development...
chmod ganeti.initd before uploading it
When an upload is done to a node which doesn't have any version ofganeti installed, this prevents a non-executable-initd error later inthe upload.
Reviewed-by: imsnah
Add very basic online help to devel/upload
devel/upload: Add --no-restart option
If --no-restart is passed to devel/upload, it'll not run"/etc/init.d/ganeti restart" (which kills processes), makingdebugging on a terminal a bit easier.
Reviewed-by: iustinp, ultrotter
Generate devel/upload during build time from template
- Use variable with prefix instead of grep and sed- Always run with /bin/bash
Reviewed-by: ultrotter