Cleanup of build-time shell variable replacements
Instead of having a different set in (almost) every shell script, this inserts the most commonly used variables at build time. This way the code for injecting a root directory for virtual clusters also is just needed once. I chose inserting the variables using “sed” at build time over a runtime script as the latter would need to be located from within the script and the path would be different depending on the environment (unittest vs. actual installation). Signed-off-by:Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
Showing
- .gitignore 1 addition, 0 deletions.gitignore
- Makefile.am 21 additions, 1 deletionMakefile.am
- daemons/daemon-util.in 5 additions, 4 deletionsdaemons/daemon-util.in
- daemons/ganeti-cleaner.in 11 additions, 11 deletionsdaemons/ganeti-cleaner.in
- tools/kvm-ifup.in 4 additions, 2 deletionstools/kvm-ifup.in
Loading
Please register or sign in to comment