2023-02-25 20:50:02 +00:00
|
|
|
#!/usr/bin/env bash
|
2023-05-26 02:38:19 +00:00
|
|
|
set -u
|
2023-02-25 20:50:02 +00:00
|
|
|
|
|
|
|
# fix an issue with open files limit on some hosts
|
|
|
|
ulimit -l unlimited
|
|
|
|
|
|
|
|
#ulimit -n 10240
|
|
|
|
ulimit -c unlimited
|
|
|
|
|
|
|
|
echo "Bootstrapping from MAKE to REX..."
|
|
|
|
|
|
|
|
# Executes rex from within the shell.
|
|
|
|
|
|
|
|
${dir_localtools}/rex -v \
|
|
|
|
-c ${dir_rex}/x86_64/rex.config \
|
2023-03-05 04:05:46 +00:00
|
|
|
-p ${dir_rex}/x86_64/plans/backup.plan
|
2023-02-25 20:50:02 +00:00
|
|
|
|
|
|
|
retVal=$?
|
2023-02-26 20:36:36 +00:00
|
|
|
exit $retVal
|